: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;
}

.entity-perks {
  display: flex;
  margin-top: auto;
}
@media screen and (max-width: 1199.98px) {
  .entity-perks {
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
  }
}
@media screen and (max-width: 991.98px) {
  .entity-perks.mobile-center {
    justify-content: center;
  }
}
@media screen and (max-width: 767.98px) {
  .entity-perks {
    flex-wrap: nowrap;
    justify-content: space-around;
  }
}
@media screen and (max-width: 460px) {
  .entity-perks {
    margin-top: 60px;
  }
}
.entity-perks .perk {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 55px;
}
@media screen and (max-width: 1199.98px) {
  .entity-perks .perk {
    margin-right: 50px;
  }
}
@media screen and (max-width: 767.98px) {
  .entity-perks .perk {
    flex-direction: column;
    margin-right: 0;
    width: 20%;
    text-align: center;
  }
}
.entity-perks .perk svg, .entity-perks .perk img {
  width: 45px;
  height: 45px;
}
@media screen and (max-width: 767.98px) {
  .entity-perks .perk svg, .entity-perks .perk img {
    width: 30px;
    height: 30px;
  }
}
.entity-perks .perk .content {
  display: flex;
  flex-direction: column;
}
.entity-perks .perk .content p {
  color: var(--tertiary);
  text-transform: uppercase;
  display: inline-block;
  font-size: 11px;
  margin: 0;
}
@media screen and (max-width: 767.98px) {
  .entity-perks .perk .content p {
    display: none;
  }
}
.entity-perks .perk .content span {
  font-weight: 600;
  line-height: 1;
}

h1.entity-title {
  text-transform: uppercase;
  font-size: 48px;
  text-shadow: 5px 5px 3px rgba(0, 0, 0, 0.4);
}
h1.entity-title.small {
  font-size: 38px;
}
@media screen and (max-width: 991.98px) {
  h1.entity-title {
    font-size: 32px;
  }
  h1.entity-title.small {
    font-size: 32px;
  }
  h1.entity-title.center-on-tablet {
    text-align: center;
  }
}
@media screen and (max-width: 767.98px) {
  h1.entity-title {
    font-size: 24px;
  }
  h1.entity-title.small {
    font-size: 26px;
  }
}
@media screen and (max-width: 460px) {
  h1.entity-title.center-on-mobile {
    text-align: center;
  }
}
h1.entity-title .game-title {
  display: block;
  font-size: 18px;
}
@media screen and (max-width: 1199.98px) {
  h1.entity-title .game-title {
    font-size: 14px;
  }
}
@media screen and (max-width: 575.98px) {
  h1.entity-title .game-title {
    margin-bottom: 3px;
  }
}
h1.entity-title .small {
  margin-top: 10px;
  text-shadow: none;
  font-family: "Source Sans Pro";
  font-size: 18px;
  text-transform: none;
  display: block;
}
@media screen and (max-width: 767.98px) {
  h1.entity-title .small {
    font-size: 16px;
    font-weight: 400;
  }
}

section.single-genshin-character-header {
  margin-top: 54px;
  position: relative;
  overflow: hidden;
  margin-bottom: -30px;
}
section.single-genshin-character-header .header-content {
  height: 300px;
  padding-top: 50px;
  padding-bottom: 50px;
}
@media screen and (max-width: 460px) {
  section.single-genshin-character-header .header-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
section.single-genshin-character-header .character-bg-image, section.single-genshin-character-header .character-bg-image-overlay {
  position: absolute;
}
section.single-genshin-character-header .character-bg-image {
  top: 50%;
  transform: translateY(-35%);
  transform-origin: center;
  left: calc((100vw - 1140px) / 2);
}
@media screen and (max-width: 1140px) {
  section.single-genshin-character-header .character-bg-image {
    left: calc((100vw - 992px) / 2);
  }
}
@media screen and (max-width: 992px) {
  section.single-genshin-character-header .character-bg-image {
    left: calc((100vw - 768px) / 2);
  }
}
@media screen and (max-width: 768px) {
  section.single-genshin-character-header .character-bg-image {
    left: calc((100vw - 576px) / 2);
  }
}
@media screen and (max-width: 576px) {
  section.single-genshin-character-header .character-bg-image {
    left: calc((100vw - 320px) / 2);
    top: 40%;
  }
}
@media screen and (max-width: 460px) {
  section.single-genshin-character-header .character-bg-image {
    margin-left: 0 !important;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -30%) !important;
  }
}
section.single-genshin-character-header .character-bg-image-overlay {
  left: 0;
  bottom: -3px;
  width: 100%;
  height: calc(100% + 6px);
  background: linear-gradient(to bottom, rgb(from var(--dark-2) r g b/0) 50%, rgb(from var(--dark-2) r g b/0.93) 90%, var(--dark-2) 100%), radial-gradient(circle at 58% 50%, rgb(from var(--dark-2) r g b/0.15) 0%, rgb(from var(--dark-2) r g b/0.5) 90%, var(--dark-2) 950%);
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-header .character-bg-image-overlay {
    background: linear-gradient(to bottom, rgb(from var(--dark-2) r g b/0) 50%, rgb(from var(--dark-2) r g b/0.93) 90%, var(--dark-2) 99%), radial-gradient(circle at 88% 50%, rgb(from var(--dark-2) r g b/0) 0%, rgb(from var(--dark-2) r g b/0.9) 50%, var(--dark-2) 99%);
  }
}
@media screen and (max-width: 460px) {
  section.single-genshin-character-header .character-bg-image-overlay {
    background: linear-gradient(to bottom, rgb(from var(--dark-2) r g b/0) 50%, rgb(from var(--dark-2) r g b/0.93) 90%, var(--dark-2) 99%), radial-gradient(circle at 50% 50%, rgb(from var(--dark-2) r g b/0) 0%, rgb(from var(--dark-2) r g b/0.9) 50%, var(--dark-2) 99%);
  }
}

section.general-info .thumb-wrap {
  border: 2px solid var(--white);
  border-radius: 5px;
  margin-top: 3px;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 991.98px) {
  section.general-info .thumb-wrap {
    display: none;
  }
}
section.general-info .thumb-wrap.star-5 {
  background: linear-gradient(130deg, #d19738 16.78%, #D4B57B 120.08%);
}
section.general-info .thumb-wrap.star-4 {
  background: linear-gradient(130deg, #b387da 16.78%, #442b4d 120.08%);
}
section.general-info .thumb-wrap.star-3 {
  background: linear-gradient(130deg, #83a2d1 16.78%, #3f5b7a 120.08%);
}
section.general-info .thumb-wrap.star-2 {
  background: linear-gradient(130deg, #597761 16.78%, #3d916e 120.08%);
}
section.general-info .thumb-wrap.star-1 {
  background: linear-gradient(130deg, #afafaf 16.78%, #333333 120.08%);
}
section.general-info .thumb-wrap img {
  width: 80px;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
}
section.general-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}
section.general-info .about-character {
  font-size: 14px;
  font-weight: 300;
}
section.general-info .about-character p:last-of-type {
  margin-bottom: 0;
}
section.general-info table {
  width: 100%;
}
section.general-info table tbody {
  border: 1px solid var(--dark-4);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
section.general-info table tbody tr {
  padding: 7px 12px 7px 12px;
  white-space: nowrap;
}
section.general-info table tbody tr:not(:last-of-type) {
  border-bottom: 1px solid var(--dark-4);
}
section.general-info table tbody tr th {
  font-weight: 400;
  min-width: 105px;
}
@media screen and (max-width: 767.98px) {
  section.general-info table tbody tr th {
    min-width: 40vw;
  }
}
section.general-info table tbody tr td {
  font-weight: 600;
}
section.general-info table tbody tr:first-child td {
  max-width: 200px;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}
section.general-info .origin-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 100%;
  color: var(--white);
  text-decoration: none;
}
section.general-info .origin-wrap, section.general-info .origin-wrap * {
  transition: 0.2s;
}
section.general-info .origin-wrap .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  filter: grayscale(0.7) brightness(0.55);
}
section.general-info .origin-wrap .icon-wrap svg, section.general-info .origin-wrap .icon-wrap img {
  width: 62px;
  height: 62px;
}
section.general-info .origin-wrap h4 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}
section.general-info .origin-wrap h4 span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 10px;
}
section.general-info .origin-wrap:hover .bg-image, section.general-info .origin-wrap.no-hover .bg-image {
  filter: grayscale(0.2) brightness(0.5);
  transform: scale(1.05);
}
section.general-info .origin-wrap:hover.no-hover, section.general-info .origin-wrap.no-hover.no-hover {
  pointer-events: none;
}

.filter-weapon-rarities {
  display: flex;
}
.filter-weapon-rarities .star-wrap {
  background-color: var(--dark-4);
  padding: 0 2px 0 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.filter-weapon-rarities .star-wrap img {
  width: 18px;
  height: 18px;
  -o-object-fit: contain;
     object-fit: contain;
  transform: translateY(-2px);
  filter: brightness(0.1) invert(1);
}
.filter-weapon-rarities select {
  min-width: 180px;
  padding: 6px 10px;
  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-weapon-rarities select {
    width: 100%;
  }
}
.filter-weapon-rarities select option {
  color: var(--white);
  border-radius: 0;
}
.filter-weapon-rarities select option:hover {
  background-color: var(--secondary);
}

/* Chart container */
.chart-column {
  width: 100%;
  height: 100%;
  padding: 30px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--dark-4);
  border-radius: 5px;
}
@media screen and (max-width: 575.98px) {
  .chart-column {
    padding: 15px;
  }
}
.chart-column figcaption {
  width: 100%;
  font-size: 18px;
  font-weight: 600;
}
.chart-column div.description {
  margin-top: 10px;
  margin-bottom: 30px;
}
.chart-column div.description p {
  font-weight: 300;
  font-size: 14px;
  min-height: 42px;
}
.chart-column .chart-scrollable-wrap {
  max-width: 100%;
  margin-top: auto;
  overflow-x: auto;
  padding-bottom: 10px;
}
.chart-column .chart-scrollable-wrap::-webkit-scrollbar {
  height: 8px;
}
.chart-column .chart-scrollable-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.chart-column .chart-scrollable-wrap::-webkit-scrollbar-thumb {
  background: var(--white-tint);
  border-radius: 4px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.chart-column .chart-scrollable-wrap::-webkit-scrollbar-thumb:hover {
  background: rgb(from var(--white) r g b/0.8);
}
.chart-column .chart-scrollable-wrap .chart {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 25px;
}
.chart-column .chart-scrollable-wrap .chart .column {
  height: 210px;
  padding-top: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.chart-column .chart-scrollable-wrap .chart .column, .chart-column .chart-scrollable-wrap .chart .column * {
  transition: 0.1s;
}
.chart-column .chart-scrollable-wrap .chart .column div.pillar {
  min-width: 55px;
  background: linear-gradient(to bottom, #41BE79, #176F3F);
  border-radius: 5px 5px 0 0;
  position: relative;
  width: 100%;
  min-height: 5px;
  /* Value at the top of each column */
}
.chart-column .chart-scrollable-wrap .chart .column div.pillar .value {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--white);
  border-radius: 3px;
  margin-bottom: 10px;
  white-space: nowrap;
  z-index: 99;
}
.chart-column .chart-scrollable-wrap .chart .column div.pillar .entity-item {
  position: absolute;
  bottom: 10px;
  left: 6px;
}
.chart-column .chart-scrollable-wrap .chart .column div.pillar .text-on-column {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
}
.chart-column .chart-scrollable-wrap .chart .column div.pillar::after {
  content: "";
  position: absolute;
  bottom: 0px;
  display: block;
  width: calc(100% + 25px);
  height: 1px;
  background-color: var(--white-tint);
}
.chart-column .chart-scrollable-wrap .chart .column:last-of-type div.pillar::after {
  display: none;
}
.chart-column .chart-scrollable-wrap .chart .column:hover div.pillar {
  filter: brightness(0.9);
}
.chart-column .chart-scrollable-wrap .names {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 25px;
  /* Weapon name under each column */
}
.chart-column .chart-scrollable-wrap .names .weapon-name {
  min-width: 55px;
  max-width: 55px;
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
  word-break: break-all;
}

section.single-genshin-character-best-weapons {
  height: 100%;
}
section.single-genshin-character-best-weapons > .box-card {
  height: 100%;
}

section.single-genshin-character-best-artifacts .artifact-list {
  max-height: 195px !important;
  min-height: 194px !important;
}
section.single-genshin-character-best-artifacts .artifact-list .item-item {
  min-width: 185px;
}
section.single-genshin-character-best-artifacts .artifact-stats {
  margin-top: 15px;
}
section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority {
  width: 100%;
  padding: 15px;
  background-color: var(--dark-4);
  border-radius: 5px;
}
section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats h3, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ul, section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ol, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ul, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ul li, section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ol li, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ul li, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ol li {
  font-size: 14px;
}
section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ul li img, section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ol li img, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ul li img, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ol li img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
section.single-genshin-character-best-artifacts .artifact-stats .best-main-stats ol li::before, section.single-genshin-character-best-artifacts .artifact-stats .sub-stats-priority ol li::before {
  content: attr(data-number);
  display: inline-block;
  margin-right: 15px;
  opacity: 0.7;
}
section.single-genshin-character-best-artifacts .energy-recharge-requirements {
  margin-top: 15px;
  padding: 10px 15px;
  background-color: var(--dark-4);
  border-radius: 5px;
}

.team-item {
  list-style: none;
  padding: 15px 10px 10px 10px;
  margin: 0;
  background-color: var(--dark-4);
  overflow: hidden;
  border-radius: 5px;
}
.team-item span {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 600;
  position: relative;
  margin-left: 5px;
}
.team-item span::before {
  content: attr(data-index);
  display: block;
  position: absolute;
  font-size: 40px;
  transform: translate(-18px, -35px);
  opacity: 0.05;
}

.elemental-reaction {
  display: flex;
  justify-content: center;
  align-items: center;
}
.elemental-reaction img {
  width: 30px;
  height: 30px;
  -o-object-fit: contain;
     object-fit: contain;
}
.elemental-reaction .group-name {
  display: inline-block;
  background-color: rgb(from var(--tertiary) r g b/0.2);
  border: 1px solid var(--tertiary);
  border-radius: 5px;
  padding: 15px;
  position: relative;
}
.elemental-reaction .group-name span.name {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background-color: var(--secondary);
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 12px;
}
.elemental-reaction span.small {
  font-size: 12px;
}
.elemental-reaction.sm img {
  width: 20px;
  height: 20px;
  transform: translateY(-2px);
}
.elemental-reaction.sm .group-name {
  padding: 12px 15px;
}
.elemental-reaction.sm .plus {
  font-size: 14px;
}

section.single-genshin-character-best-teams .description {
  font-weight: 300;
  font-size: 15px;
}
section.single-genshin-character-best-teams .team-list {
  margin-top: 30px;
  max-height: 400px;
  padding-right: 15px;
  padding-top: 9px;
}
section.single-genshin-character-best-teams .team-list h3 {
  margin-top: 25px;
  font-size: 18px;
  font-weight: 600;
}
section.single-genshin-character-best-teams .team-list h3:first-child {
  margin-top: 0;
}
section.single-genshin-character-best-teams .team-list ol.teams {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0;
  margin: 10px 0 0 0;
}
@media screen and (max-width: 1399.98px) {
  section.single-genshin-character-best-teams .team-list ol.teams {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 850px) {
  section.single-genshin-character-best-teams .team-list ol.teams {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 600px) {
  section.single-genshin-character-best-teams .team-list ol.teams {
    grid-template-columns: repeat(1, 1fr);
  }
}
section.single-genshin-character-best-teams .team-list ol.teams .team-item .entity-item a {
  width: 45px;
}

.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;
}

.item-item {
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.item-item .item-title {
  font-size: 15px;
}
.item-item.layout-column {
  gap: 10px;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 767.98px) {
  .item-item.layout-column {
    justify-content: flex-start;
  }
}
.item-item.layout-column .item-title {
  text-align: center;
  line-height: 1.3;
  margin-top: 4px;
  font-size: 15px;
}
.item-item.layout-column .item-title.sm {
  font-size: 14px;
}
.item-item.star-5 .thumb-wrap {
  background: linear-gradient(130deg, #d19738 16.78%, #D4B57B 120.08%);
}
.item-item.star-4 .thumb-wrap {
  background: linear-gradient(130deg, #b387da 16.78%, #442b4d 120.08%);
}
.item-item.star-3 .thumb-wrap {
  background: linear-gradient(130deg, #83a2d1 16.78%, #3f5b7a 120.08%);
}
.item-item.star-2 .thumb-wrap {
  background: linear-gradient(130deg, #597761 16.78%, #3d916e 120.08%);
}
.item-item .thumb-wrap, .item-item.star-1 .thumb-wrap {
  background: linear-gradient(130deg, #afafaf 16.78%, #333333 120.08%);
}
.item-item .thumb-wrap {
  width: 45px;
  height: 45px;
  position: relative;
  border: 1px solid rgb(from var(--white) r g b/0.5);
  border-radius: 3px;
}
.item-item .thumb-wrap img {
  width: 43px;
  height: 43px;
  -o-object-fit: contain;
     object-fit: contain;
}
.item-item .thumb-wrap .quantity {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(0);
  background-color: var(--dark-2);
  padding: 0 5px;
  border-radius: 2px;
  font-size: 11px;
}
.item-item.sm .thumb-wrap {
  width: 40px;
  height: 40px;
}
.item-item.sm .thumb-wrap img {
  width: 38px;
  height: 38px;
}
.item-item.lg .thumb-wrap {
  width: 65px;
  height: 65px;
}
.item-item.lg .thumb-wrap img {
  width: 63px;
  height: 63px;
}
@media screen and (max-width: 767.98px) {
  .item-item.lg .thumb-wrap {
    width: 50px;
    height: 50px;
  }
  .item-item.lg .thumb-wrap img {
    width: 48px;
    height: 48px;
  }
}
.item-item:hover {
  cursor: pointer;
}
.item-item:hover .info-box {
  opacity: 1;
  pointer-events: all;
  z-index: 9999;
}

section.single-genshin-character-materials .main-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(169px, 1fr));
  gap: 10px;
  align-items: stretch;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 1199.98px) {
  section.single-genshin-character-materials .main-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 991.98px) {
  section.single-genshin-character-materials .main-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 575.98px) {
  section.single-genshin-character-materials .main-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
section.single-genshin-character-materials .main-items .item {
  background-color: var(--dark-4);
  padding: 20px 10px;
  border-radius: 5px;
}
section.single-genshin-character-materials .main-items .item span.title {
  display: block;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-size: 14px;
  letter-spacing: 1px;
}
@media screen and (max-width: 1199.98px) {
  section.single-genshin-character-materials .main-items .item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

section.single-genshin-character-videos .tabs {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 1199.98px) {
  section.single-genshin-character-videos .tabs {
    flex-wrap: wrap;
  }
}
section.single-genshin-character-videos .tabs .btn {
  width: 100%;
  border: none;
  background-color: var(--dark-4);
  padding: 10px 15px;
}
@media screen and (max-width: 1199.98px) {
  section.single-genshin-character-videos .tabs .btn {
    width: calc(50% - 5px);
  }
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-videos .tabs .btn {
    width: 100%;
  }
}
section.single-genshin-character-videos .tabs .btn:hover, section.single-genshin-character-videos .tabs .btn.active {
  background-color: rgb(from var(--secondary) r g b/0.8);
}
section.single-genshin-character-videos .tab-content .tab-pane iframe {
  width: 100%;
  height: auto;
  margin-top: 30px;
  min-height: 550px;
  border-radius: 5px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-videos .tab-content .tab-pane iframe {
    min-height: 350px;
  }
}
@media screen and (max-width: 575.98px) {
  section.single-genshin-character-videos .tab-content .tab-pane iframe {
    min-height: 200px;
  }
}

.range-table .range-input-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.range-table .range-input-wrap input[type=range] {
  width: 200px;
  max-width: 100%;
  cursor: pointer;
}
.range-table .range-table-table-wrap {
  display: none;
}
.range-table .range-table-table-wrap.active {
  display: flex;
  justify-content: center;
}
.range-table .range-table-table-wrap table tr td {
  border: 1px solid var(--white-tint);
  padding: 5px 10px;
}

section.single-genshin-character-talents br {
  display: block !important;
}
section.single-genshin-character-talents .talent-priority {
  background-color: var(--dark-4);
  padding: 30px 20px 30px 20px;
  border-radius: 10px;
}
section.single-genshin-character-talents .talent-priority h3 {
  text-align: center;
}
section.single-genshin-character-talents .talent-priority ol.talents {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents .talent-priority ol.talents {
    flex-direction: column;
    gap: 40px;
    margin-top: 15px;
  }
}
section.single-genshin-character-talents .talent-priority ol.talents li.talent {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 15px;
  position: relative;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents .talent-priority ol.talents li.talent {
    border: 1px solid var(--white-tint);
    border-radius: 5px;
    min-width: 70%;
  }
}
section.single-genshin-character-talents .talent-priority ol.talents li.talent img {
  width: 45px;
  height: 45px;
  -o-object-fit: contain;
     object-fit: contain;
}
section.single-genshin-character-talents .talent-priority ol.talents li.talent.has-arrow::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  background-image: url("/wp-content/uploads/2025/05/Arrow.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: 50%;
  left: -45px;
  transform: translateY(-50%);
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents .talent-priority ol.talents li.talent.has-arrow::before {
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
}
section.single-genshin-character-talents .talent-priority ol.talents li.talent.has-equal-sign::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  background-image: url("/wp-content/uploads/2025/07/Equal-sign.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  top: 50%;
  left: -45px;
  transform: translateY(-50%);
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents .talent-priority ol.talents li.talent.has-equal-sign::before {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
  }
}
section.single-genshin-character-talents .talent-priority p.description {
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
  font-weight: 300;
  font-size: 15px;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (max-width: 575.98px) {
  section.single-genshin-character-talents .talent-priority p.description {
    margin-top: 30px;
  }
}
section.single-genshin-character-talents ul.active-talents {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
section.single-genshin-character-talents ul.active-talents li.talent {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  padding: 30px;
  background-color: var(--dark-4);
  gap: 30px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents ul.active-talents li.talent {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent {
  display: flex;
  gap: 60px;
}
@media screen and (max-width: 1399.98px) {
  section.single-genshin-character-talents ul.active-talents li.talent .about-talent {
    flex-direction: column;
    gap: 30px;
  }
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents ul.active-talents li.talent .about-talent {
    gap: 10px;
  }
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent .icon-and-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 160px;
}
@media screen and (max-width: 1399.98px) {
  section.single-genshin-character-talents ul.active-talents li.talent .about-talent .icon-and-name {
    align-items: flex-start;
    text-align: left;
  }
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent .icon-and-name img {
  width: 45px;
  height: 45px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 20px;
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent .icon-and-name h3 {
  margin-bottom: 0;
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent .icon-and-name p.talent-name {
  color: var(--tertiary);
  font-weight: 600;
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent div.description {
  font-weight: 300;
}
section.single-genshin-character-talents ul.active-talents li.talent .about-talent div.description ul {
  margin-bottom: 20px;
  padding-inline-start: 0;
  padding-left: 16px;
}
section.single-genshin-character-talents ul.active-talents li.talent .stats {
  min-width: 300px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents ul.active-talents li.talent .stats {
    min-width: 0;
  }
}
section.single-genshin-character-talents ul.passive-talents {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
section.single-genshin-character-talents ul.passive-talents li.talent {
  display: flex;
  gap: 60px;
  padding: 30px;
  background-color: var(--dark-4);
  border-radius: 5px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents ul.passive-talents li.talent {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
section.single-genshin-character-talents ul.passive-talents li.talent p {
  margin-bottom: 0;
}
section.single-genshin-character-talents ul.passive-talents li.talent .icon-and-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  min-width: 230px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-talents ul.passive-talents li.talent .icon-and-name {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
section.single-genshin-character-talents ul.passive-talents li.talent .icon-and-name img {
  width: 45px;
  height: 45px;
  -o-object-fit: contain;
     object-fit: contain;
}
section.single-genshin-character-talents ul.passive-talents li.talent .icon-and-name h3 {
  margin-bottom: 0;
  white-space: nowrap;
}
section.single-genshin-character-talents ul.passive-talents li.talent .icon-and-name p.talent-name {
  color: var(--tertiary);
  font-weight: 600;
  white-space: nowrap;
}
section.single-genshin-character-talents ul.passive-talents li.talent .description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  font-weight: 300;
}

section.single-genshin-character-constellations ul.constellation-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-height: 480px;
}
section.single-genshin-character-constellations ul.constellation-list > li {
  display: flex;
  gap: 30px;
  background-color: var(--dark-4);
  padding: 30px;
}
@media screen and (max-width: 767.98px) {
  section.single-genshin-character-constellations ul.constellation-list > li {
    flex-direction: column;
    padding: 20px;
  }
}
section.single-genshin-character-constellations ul.constellation-list > li .icon-wrap img {
  max-width: 80px;
  max-height: 80px;
}
section.single-genshin-character-constellations ul.constellation-list > li p.heading {
  font-weight: bold;
  margin-bottom: 0;
}
section.single-genshin-character-constellations ul.constellation-list > li p.sub-heading {
  font-size: 14px;
  color: var(--tertiary);
}
section.single-genshin-character-constellations ul.constellation-list > li .description {
  font-weight: 300;
}
section.single-genshin-character-constellations ul.constellation-list > li .description ul {
  margin-bottom: 15px;
}
section.single-genshin-character-constellations ul.constellation-list > li .description p:last-child {
  margin-bottom: 0;
}

ul.banners-list {
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}
ul.banners-list li.no-banners-found {
  font-weight: 300;
}

.banner-item-big {
  background-color: var(--dark-4);
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}
.banner-item-big .img-wrap {
  padding: 15px;
}
.banner-item-big .img-wrap img.banner {
  width: 440px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
}
.banner-item-big .meta-info {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 4px;
  color: var(--tertiary);
}
.banner-item-big h3 {
  font-weight: 600;
  margin-bottom: 12px;
}
.banner-item-big .description {
  font-weight: 300;
}

.popover-basic {
  position: fixed;
  background-color: var(--dark-3);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  padding: 10px 20px;
  font-size: 16px;
  transition: 0.1s, top 0s, left 0s;
  font-size: 14px;
  max-width: 300px;
  width: 100%;
  transform: translate(5px, -20px);
}
@media screen and (max-width: 360px) {
  .popover-basic {
    max-width: calc(100vw - 54px);
  }
}
.popover-basic::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(100% - 5px);
  right: 10px;
  transform: translateX(-20%);
  width: 15px;
  height: 20px;
  background-color: var(--dark-3);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  transform: rotate(90deg);
}
.popover-basic p:last-of-type {
  margin-bottom: 0;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding-left: 10px;
  cursor: pointer;
}
.info-icon:hover svg * {
  fill: var(--secondary);
}
.info-icon:hover .popover-basic {
  opacity: 1;
  pointer-events: all;
}

.tab-content .weapons-wrap h3, .tab-content .artifacts-wrap h3 {
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
}
@media screen and (max-width: 575.98px) {
  .tab-content .weapons-wrap h3, .tab-content .artifacts-wrap h3 {
    padding-bottom: 0;
  }
}
.tab-content .weapons-wrap ol, .tab-content .artifacts-wrap ol {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tab-content .weapons-wrap ol li, .tab-content .artifacts-wrap ol li {
  background-color: var(--dark-4);
  padding: 12px 15px;
  border-radius: 5px;
  width: 100%;
  display: flex;
  align-items: center;
}
.tab-content .weapons-wrap ol li .number, .tab-content .artifacts-wrap ol li .number {
  opacity: 0.7;
}
@media screen and (max-width: 575.98px) {
  .tab-content .weapons-wrap ol, .tab-content .artifacts-wrap ol {
    max-height: none !important;
  }
}