/* reset */
:root {
  --max-width: 100vw;
  --max-width2: 1920;
}

@media screen and (max-width: 1200px) {
  :root {
    --max-width: 1200px;
  }
}
@media screen and (max-aspect-ratio: 1920/1080) {
  :root {
    --max-width: 100vh;
    --max-width2: 1080;
  }
}
body,
dl,
dd,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p,
form {
  margin: 0;
  padding: 0;
}

body {
  font: 12px/1.5 tahoma, "u65b9u6b63u5170u4eadu9ed1", sans-serif;
  padding-top: 0;
  background: #000;
  font-family: "u65b9u6b63u5170u4eadu9ed1";
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

em,
b {
  font-style: normal;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  border: 0;
}

img[src=""],
img:not([src]) {
  opacity: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th,
ul,
ol {
  padding: 0;
  list-style-type: none;
}

@font-face {
  font-family: "cala";
  src: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cala.eot");
  src: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cala.eot?#iefix") format("embedded-opentype"), url("https://game.gtimg.cn/images/kq/cp/CardMagic/cala.woff") format("woff"), url("https://game.gtimg.cn/images/kq/cp/CardMagic/cala.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "SourceHanSerifCN-Bold";
  src: url("https://game.gtimg.cn/images/kq/cp/CardMagic/SourceHanSerifCN-Bold.eot");
  src: url("https://game.gtimg.cn/images/kq/cp/CardMagic/SourceHanSerifCN-Bold.eot?#iefix") format("embedded-opentype"), url("https://game.gtimg.cn/images/kq/cp/CardMagic/SourceHanSerifCN-Bold.woff") format("woff"), url("https://game.gtimg.cn/images/kq/cp/CardMagic/SourceHanSerifCN-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "calabold";
  src: url("//game.gtimg.cn/images/kq/cp/klbqS2Activities/calabold.eot");
  src: url("//game.gtimg.cn/images/kq/cp/klbqS2Activities/calabold.eot?#iefix") format("embedded-opentype"), url("//game.gtimg.cn/images/kq/cp/klbqS2Activities/calabold.woff") format("woff"), url("//game.gtimg.cn/images/kq/cp/klbqS2Activities/calabold.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}
.clearfix:after {
  content: " ";
  height: 0;
  display: block;
  clear: both;
}

.hidden {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* index */
.loading {
  display: none !important;
}

.loading-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  z-index: 99999;
}

.loading-mask.on > * {
  display: none !important;
}

.loading-mask img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
}

.loading-center {
  width: calc(972 / var(--max-width2) * var(--max-width));
  height: calc(478 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: scale(var(--scale));
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: calc(-486 / var(--max-width2) * var(--max-width));
  margin-top: calc(-239 / var(--max-width2) * var(--max-width));
  z-index: 10;
}
.fallback .loading-center {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/loading-bg.png");
}
.webp .loading-center {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/loading-bg.webp");
}

.loading-center::after {
  content: "";
  width: calc(388 / var(--max-width2) * var(--max-width));
  height: calc(446 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/web20221202/loading-out.png) no-repeat 0 0/100% 100%;
  position: absolute;
  top: 0;
  left: calc(289 / var(--max-width2) * var(--max-width));
  z-index: 1;
  animation: clockwise 4.8s linear infinite;
}

.loading-center::before {
  content: "";
  width: calc(371 / var(--max-width2) * var(--max-width));
  height: calc(371 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/web20221202/loading-in.png) no-repeat 0 0/100% 100%;
  position: absolute;
  top: calc(37 / var(--max-width2) * var(--max-width));
  left: calc(297 / var(--max-width2) * var(--max-width));
  z-index: 1;
  animation: anticlockwise 3.2s linear infinite;
}

.loading-top {
  width: calc(289 / var(--max-width2) * var(--max-width));
  height: calc(289 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(338 / var(--max-width2) * var(--max-width));
  top: calc(78 / var(--max-width2) * var(--max-width));
  z-index: 5;
  --clip: 0 0;
}

.loading-top::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  background: url(//game.gtimg.cn/images/kq/web20221202/loading-progress.png) no-repeat 0 0/100% 100%;
  clip-path: polygon(var(--clip));
}

.loading-progress {
  position: absolute;
  top: calc(364 / var(--max-width2) * var(--max-width));
  left: 52%;
  transform: translateX(-50%);
  font-size: calc(32 / var(--max-width2) * var(--max-width));
  line-height: calc(54 / var(--max-width2) * var(--max-width));
  height: calc(54 / var(--max-width2) * var(--max-width));
  color: #2c2c2c;
  font-family: "cala";
}

@font-face {
  font-family: "cgr";
  src: url("//game.gtimg.cn/images/kq/web20221202/font/CalabiyauGameFontRegular-1800B.ttf.eot?#font-spider") format("embedded-opentype"), url("//game.gtimg.cn/images/kq/web20221202/font/CalabiyauGameFontRegular-1800B.ttf.woff") format("woff"), url("//game.gtimg.cn/images/kq/web20221202/font/CalabiyauGameFontRegular-1800B.ttf") format("truetype"), url("//game.gtimg.cn/images/kq/web20221202/font/CalabiyauGameFontRegular-1800B.ttf.svg") format("svg");
  font-weight: normal;
  font-style: normal;
}
@keyframes clockwise {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes anticlockwise {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-360deg);
  }
}
* {
  user-select: none;
}

.wrap {
  width: calc(1920 / var(--max-width2) * var(--max-width));
  /*height: 100vh;*/
  position: absolute;
  right: 0;
  top: 0;
  z-index: 50;
  overflow: hidden;
  /*background: #fff;*/
  color: #000;
  /*overflow-y: inherit;*/
  font-family: "cala";
  display: block !important;
}
.wrap:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 20;
  pointer-events: none;
}
.fallback .wrap:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/bg_line.png");
}
.webp .wrap:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/bg_line.webp");
}

.vbg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

/* footer */
#afooter {
  width: 100%;
  height: 100px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  color: #999;
  background: #000;
  padding-top: 35px;
  min-width: 1200px;
  overflow: hidden;
}

#afooter .wrap_ied {
  width: 100%;
  margin: 0 auto;
  padding-top: 10px;
  width: 1200px;
}

#afooter p.e {
  font-size: 10px;
  -webkit-text-size-adjust: none;
}

#afooter a {
  color: #999;
  text-decoration: none;
}

#afooter a:hover {
  text-decoration: underline;
}

.wrap {
  height: calc(1080 / var(--max-width2) * var(--max-width));
  background-size: calc(1920 / var(--max-width2) * var(--max-width)) 100%;
  background-repeat: no-repeat;
  background-position: top center;
}
.fallback .wrap {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/bg.jpg");
}
.webp .wrap {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/bg.webp");
}

.kl_logo {
  display: block;
  width: calc(152 / var(--max-width2) * var(--max-width));
  height: calc(53 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(40 / var(--max-width2) * var(--max-width));
  top: calc(40 / var(--max-width2) * var(--max-width));
  z-index: 30;
}
.fallback .kl_logo {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/logo.png");
}
.webp .kl_logo {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/logo.webp");
}

.kl_slogan {
  display: block;
  width: calc(832 / var(--max-width2) * var(--max-width));
  height: calc(449 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: calc(-405 / var(--max-width2) * var(--max-width)) 0 0 calc(107 / var(--max-width2) * var(--max-width));
  text-indent: -9999px;
  z-index: 10;
}
.fallback .kl_slogan {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/slogan.png");
}
.webp .kl_slogan {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/slogan.webp");
}

.kl_kvbtn {
  display: block;
  width: calc(588 / var(--max-width2) * var(--max-width));
  height: calc(204 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  margin: calc(207 / var(--max-width2) * var(--max-width)) 0 0 calc(236 / var(--max-width2) * var(--max-width));
  z-index: 10;
}
.kl_kvbtn a {
  display: block;
  position: absolute;
}
.kl_kvbtn a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}
.kl_kvbtn a.kvbtn1 {
  width: calc(352 / var(--max-width2) * var(--max-width));
  height: calc(111 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(-7 / var(--max-width2) * var(--max-width));
  top: calc(-6 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn1:before {
  width: calc(352 / var(--max-width2) * var(--max-width));
  height: calc(111 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .kl_kvbtn a.kvbtn1:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/idx_btn1.png");
}
.webp .kl_kvbtn a.kvbtn1:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/idx_btn1.webp");
}
.kl_kvbtn a.kvbtn1:hover {
  height: calc(109 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn1:hover:before {
  width: calc(352 / var(--max-width2) * var(--max-width));
  height: calc(111 / var(--max-width2) * var(--max-width));
  background-size: 100%;
  background-repeat: no-repeat;
  top: calc(2 / var(--max-width2) * var(--max-width));
}
.fallback .kl_kvbtn a.kvbtn1:hover:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/idx_btn1_hov.png");
}
.webp .kl_kvbtn a.kvbtn1:hover:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/idx_btn1_hov.webp");
}
.kl_kvbtn a.kvbtn1.redicon:after {
  right: calc(146 / var(--max-width2) * var(--max-width));
  top: calc(22 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn2 {
  width: calc(352 / var(--max-width2) * var(--max-width));
  height: calc(116 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(-7 / var(--max-width2) * var(--max-width));
  top: calc(95 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn2:before {
  width: calc(352 / var(--max-width2) * var(--max-width));
  height: calc(116 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .kl_kvbtn a.kvbtn2:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/idx_btn2.png");
}
.webp .kl_kvbtn a.kvbtn2:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/idx_btn2.webp");
}
.kl_kvbtn a.kvbtn2:hover {
  height: calc(109 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn2:hover:before {
  width: calc(352 / var(--max-width2) * var(--max-width));
  height: calc(117 / var(--max-width2) * var(--max-width));
  background-size: 100%;
  background-repeat: no-repeat;
  top: calc(-1 / var(--max-width2) * var(--max-width));
}
.fallback .kl_kvbtn a.kvbtn2:hover:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/idx_btn2_hov.png");
}
.webp .kl_kvbtn a.kvbtn2:hover:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/idx_btn2_hov.webp");
}
.kl_kvbtn a.kvbtn2.redicon:after {
  right: calc(146 / var(--max-width2) * var(--max-width));
  top: calc(22 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn3 {
  width: calc(245 / var(--max-width2) * var(--max-width));
  height: calc(210 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(351 / var(--max-width2) * var(--max-width));
  top: calc(1 / var(--max-width2) * var(--max-width));
}
.kl_kvbtn a.kvbtn3:before {
  width: calc(245 / var(--max-width2) * var(--max-width));
  height: calc(210 / var(--max-width2) * var(--max-width));
  background-size: 100%;
  background-repeat: no-repeat;
}
.fallback .kl_kvbtn a.kvbtn3:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/idx_btn3.png");
}
.webp .kl_kvbtn a.kvbtn3:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/idx_btn3.webp");
}
.kl_kvbtn a.kvbtn3:hover:before {
  width: calc(242 / var(--max-width2) * var(--max-width));
  height: calc(240 / var(--max-width2) * var(--max-width));
  background-size: 100%;
  background-repeat: no-repeat;
  top: 0;
}
.fallback .kl_kvbtn a.kvbtn3:hover:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/idx_btn3_hov.png");
}
.webp .kl_kvbtn a.kvbtn3:hover:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/idx_btn3_hov.webp");
}
.kl_kvbtn a.kvbtn3.redicon:after {
  right: calc(22 / var(--max-width2) * var(--max-width));
  top: calc(14 / var(--max-width2) * var(--max-width));
}

.kl_lvp {
  display: block;
  font-size: calc(30 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  margin-top: calc(24 / var(--max-width2) * var(--max-width));
  letter-spacing: calc(2 / var(--max-width2) * var(--max-width));
  font-weight: normal;
  position: relative;
  z-index: 10;
}

.kl_lvp_sp {
  display: block;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #556788;
  transform: scale(0.33333);
  transform-origin: 0 0;
  margin-top: calc(-4 / var(--max-width2) * var(--max-width));
  margin-left: calc(2 / var(--max-width2) * var(--max-width));
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.5s;
  position: relative;
  z-index: 10;
}

.kl_lvp_icon1 {
  display: block;
  width: calc(154 / var(--max-width2) * var(--max-width));
  height: calc(161 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/kl_lvp_icon1.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(-4 / var(--max-width2) * var(--max-width));
  top: calc(-49 / var(--max-width2) * var(--max-width));
  pointer-events: none;
  z-index: 0;
}

.kl_lvp_icon2 {
  display: block;
  width: calc(116 / var(--max-width2) * var(--max-width));
  height: calc(117 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/kvbtn_icon2.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(22 / var(--max-width2) * var(--max-width));
  top: calc(-27 / var(--max-width2) * var(--max-width));
  pointer-events: none;
  z-index: 0;
}

.kl_right {
  display: flex;
  position: absolute;
  right: calc(28 / var(--max-width2) * var(--max-width));
  top: calc(30 / var(--max-width2) * var(--max-width));
  align-items: center;
  z-index: 10;
}

.kl_right_loginbox {
  width: calc(55 / var(--max-width2) * var(--max-width));
  height: calc(68 / var(--max-width2) * var(--max-width));
  position: relative;
  margin-left: calc(30 / var(--max-width2) * var(--max-width));
  margin-top: calc(10 / var(--max-width2) * var(--max-width));
}
.kl_right_loginbox:hover .top_login_info {
  display: block;
}
.kl_right_loginbox .dia_sharerole {
  width: calc(55 / var(--max-width2) * var(--max-width));
  height: calc(54 / var(--max-width2) * var(--max-width));
  left: 0;
  top: 0;
}
.kl_right_loginbox .dia_sharerole img {
  width: 100%;
  height: 100%;
}

.kl_right_login {
  display: block;
  width: calc(55 / var(--max-width2) * var(--max-width));
  height: calc(54 / var(--max-width2) * var(--max-width));
  border-radius: calc(4 / var(--max-width2) * var(--max-width));
  border: #ffffff solid 1px;
}
.kl_right_login img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_login_info {
  width: calc(380 / var(--max-width2) * var(--max-width));
  position: absolute;
  right: calc(8 / var(--max-width2) * var(--max-width));
  top: calc(68 / var(--max-width2) * var(--max-width));
  background: #222222;
  border-radius: calc(2 / var(--max-width2) * var(--max-width));
  z-index: 50;
  display: none;
  font-family: "cala";
  padding: calc(20 / var(--max-width2) * var(--max-width)) 0 calc(24 / var(--max-width2) * var(--max-width)) 0;
}

.top_login_info:before {
  content: "";
  width: calc(12 / var(--max-width2) * var(--max-width));
  height: calc(6 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/info_conner.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(10 / var(--max-width2) * var(--max-width));
  top: calc(-6 / var(--max-width2) * var(--max-width));
}

.top_login_in {
  width: 100%;
  display: flex;
}

.top_login_name {
  width: calc(226 / var(--max-width2) * var(--max-width));
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #979797;
  margin-left: calc(24 / var(--max-width2) * var(--max-width));
}

.top_login_line {
  width: 0;
  height: calc(16 / var(--max-width2) * var(--max-width));
  border-left: #565759 solid 1px;
  margin: calc(4 / var(--max-width2) * var(--max-width)) 0 0 calc(22 / var(--max-width2) * var(--max-width));
}

.top_login_zx {
  display: block;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #fff;
  margin: 0 0 0 calc(26 / var(--max-width2) * var(--max-width));
}

.kl_right_home {
  display: block;
  width: calc(140 / var(--max-width2) * var(--max-width));
  height: calc(48 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: calc(48 / var(--max-width2) * var(--max-width));
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  margin-left: calc(30 / var(--max-width2) * var(--max-width));
}
.fallback .kl_right_home {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kv_rbtn.png");
}
.webp .kl_right_home {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kv_rbtn.webp");
}
.kl_right_home:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .kl_right_home:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kv_rbtn_hov.png");
}
.webp .kl_right_home:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kv_rbtn_hov.webp");
}

.top_side {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.top_side.showed .top_side_sqbtn {
  width: 0;
}

.top_side.showed .top_side_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.top_side.showed .top_side_sqbtn:after {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/side_jt_close.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.top_side_sqbtn {
  display: block;
  width: calc(54 / var(--max-width2) * var(--max-width));
  height: calc(54 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  position: relative;
}
.fallback .top_side_sqbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/sq_btn.png");
}
.webp .top_side_sqbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/sq_btn.webp");
}

.top_side_sqbtn:after {
  content: "";
  width: calc(8 / var(--max-width2) * var(--max-width));
  height: calc(16 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/side_jt.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(-20 / var(--max-width2) * var(--max-width));
  top: calc(18 / var(--max-width2) * var(--max-width));
}

.top_side_list {
  width: calc(276 / var(--max-width2) * var(--max-width));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  display: none;
}

.top_side_list li {
  width: calc(54 / var(--max-width2) * var(--max-width));
  height: calc(54 / var(--max-width2) * var(--max-width));
}

.top_side_list li a {
  display: block;
  width: 100%;
  height: 100%;
}

.top_side_list li a.sqicon1 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li a.sqicon1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon1.png");
}
.webp .top_side_list li a.sqicon1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon1.webp");
}

.top_side_list li a.sqicon2 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li a.sqicon2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon2.png");
}
.webp .top_side_list li a.sqicon2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon2.webp");
}

.top_side_list li a.sqicon3 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li a.sqicon3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon3.png");
}
.webp .top_side_list li a.sqicon3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon3.webp");
}

.top_side_list li a.sqicon4 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li a.sqicon4 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon4.png");
}
.webp .top_side_list li a.sqicon4 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon4.webp");
}

.top_side_list li:hover a {
  display: block;
  width: 100%;
  height: 100%;
}

.top_side_list li:hover a.sqicon1 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li:hover a.sqicon1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon1_hov.png");
}
.webp .top_side_list li:hover a.sqicon1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon1_hov.webp");
}

.top_side_list li:hover a.sqicon2 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li:hover a.sqicon2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon2_hov.png");
}
.webp .top_side_list li:hover a.sqicon2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon2_hov.webp");
}

.top_side_list li:hover a.sqicon3 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li:hover a.sqicon3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon3_hov.png");
}
.webp .top_side_list li:hover a.sqicon3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon3_hov.webp");
}

.top_side_list li:hover a.sqicon4 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .top_side_list li:hover a.sqicon4 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/qsqicon4_hov.png");
}
.webp .top_side_list li:hover a.sqicon4 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/qsqicon4_hov.webp");
}

.sec_kf {
  display: block;
  width: calc(49 / var(--max-width2) * var(--max-width));
  height: calc(141 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, calc(2 / var(--max-width2) * var(--max-width)));
  z-index: 100;
  text-indent: -9999px;
}
.fallback .sec_kf {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kf_icon.png");
}
.webp .sec_kf {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kf_icon.webp");
}

.sec_kf:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .sec_kf:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kf_hov.png");
}
.webp .sec_kf:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kf_hov.webp");
}

.kl_rule {
  display: block;
  width: 100%;
  height: calc(88 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.kl_rule:after {
  content: "";
  width: calc(1920 / var(--max-width2) * var(--max-width));
  height: calc(510 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bot_line.png) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  bottom: calc(-30 / var(--max-width2) * var(--max-width));
  transform: translate(-50%, 0);
  pointer-events: none;
}

.kl_rule_btn {
  display: block;
  width: calc(48 / var(--max-width2) * var(--max-width));
  height: calc(140 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, calc(-142 / var(--max-width2) * var(--max-width)));
  text-indent: -9999px;
  z-index: 20;
}
.fallback .kl_rule_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/r_btn.png");
}
.webp .kl_rule_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/r_btn.webp");
}
.kl_rule_btn:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .kl_rule_btn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/r_btnhov.png");
}
.webp .kl_rule_btn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/r_btnhov.webp");
}

.dia {
  width: calc(960 / var(--max-width2) * var(--max-width));
  height: calc(620 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: "cala";
}
.fallback .dia {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_bg.png");
}
.webp .dia {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_bg.webp");
}

.d_close {
  display: block;
  width: calc(27 / var(--max-width2) * var(--max-width));
  height: calc(27 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(-57 / var(--max-width2) * var(--max-width));
  top: calc(4 / var(--max-width2) * var(--max-width));
}
.fallback .d_close {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/hg_close.png");
}
.webp .d_close {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/hg_close.webp");
}

.kl_bz_close {
  display: block;
  width: calc(33 / var(--max-width2) * var(--max-width));
  height: calc(28 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_close.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(-68 / var(--max-width2) * var(--max-width));
  top: calc(30 / var(--max-width2) * var(--max-width));
}

.dia_t {
  display: block;
  width: calc(512 / var(--max-width2) * var(--max-width));
  height: calc(80 / var(--max-width2) * var(--max-width));
  font-size: calc(32 / var(--max-width2) * var(--max-width));
  font-family: "SourceHanSerifCN-Bold";
  color: #fff3d2;
  text-align: center;
  line-height: calc(80 / var(--max-width2) * var(--max-width));
  position: relative;
  margin: 0 auto 0;
  box-sizing: border-box;
}
.dia_t span {
  filter: drop-shadow(rgba(67, 19, 17, 0.5) 0 calc(3 / var(--max-width2) * var(--max-width)) 0);
}
.dia_t.dia_tzy {
  width: calc(400 / var(--max-width2) * var(--max-width));
}

.dia_rule_list {
  width: calc(880 / var(--max-width2) * var(--max-width));
  height: calc(420 / var(--max-width2) * var(--max-width));
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding-right: calc(60 / var(--max-width2) * var(--max-width));
  margin: calc(40 / var(--max-width2) * var(--max-width)) 0 0 calc(70 / var(--max-width2) * var(--max-width));
}
.dia_rule_list .swiper-slide {
  padding-bottom: calc(100 / var(--max-width2) * var(--max-width));
}

.rule_scroll {
  width: calc(4 / var(--max-width2) * var(--max-width));
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  right: 0;
  top: 0;
}
.rule_scroll .swiper-scrollbar-drag {
  width: 100%;
  background-color: #924642;
}

.dia_p {
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
}

.dia_xh,
.dia_xh_emp {
  display: inline-block;
  vertical-align: top;
  width: calc(30 / var(--max-width2) * var(--max-width));
  margin-left: calc(-30 / var(--max-width2) * var(--max-width));
}

.dia_xh_emp {
  width: 0;
}

.dia_p_t {
  display: block;
  font-size: calc(28 / var(--max-width2) * var(--max-width));
  color: #924642;
  font-family: "SourceHanSerifCN-Bold";
  margin: calc(40 / var(--max-width2) * var(--max-width)) 0 0 0;
}

.dia_tabt {
  width: calc(860 / var(--max-width2) * var(--max-width));
  margin: calc(28 / var(--max-width2) * var(--max-width)) auto 0;
  display: flex;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_tabt {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_tabtbg.png");
}
.webp .dia_tabt {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_tabtbg.webp");
}
.dia_tabt li {
  width: 25%;
  height: calc(56 / var(--max-width2) * var(--max-width));
  position: relative;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-family: "SourceHanSerifCN-Bold";
  text-align: center;
  line-height: calc(56 / var(--max-width2) * var(--max-width));
  font-weight: normal;
}
.dia_tabt li:after {
  content: "";
  height: calc(20 / var(--max-width2) * var(--max-width));
  border-right: #c2b7a5 solid 1px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
}
.dia_tabt li:last-child:after {
  display: none;
}

.dia_tab {
  width: calc(860 / var(--max-width2) * var(--max-width));
  margin: 0 auto;
}
.dia_tab td {
  width: 25%;
  height: calc(64 / var(--max-width2) * var(--max-width));
  vertical-align: middle;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #392321;
  font-family: "u65b9u6b63u5170u4eadu9ed1";
  text-align: center;
  border-bottom: #c5b9a3 solid 1px;
}
.dia_tab td p {
  width: 100%;
  height: calc(64 / var(--max-width2) * var(--max-width));
  overflow: hidden;
  text-align: center;
  line-height: calc(16 / var(--max-width2) * var(--max-width));
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 calc(10 / var(--max-width2) * var(--max-width));
}
.dia_tab td p span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
}
.dia_tab td:nth-child(1), .dia_tab td:nth-child(3) {
  font-family: "cala";
}

.d_page_box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: calc(30 / var(--max-width2) * var(--max-width)) auto 0;
}
.d_page_box a {
  display: block;
  width: calc(40 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  margin: 0 calc(5 / var(--max-width2) * var(--max-width));
  text-align: center;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #96846a;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
  text-align: center;
}
.d_page_box a.pagenow, .d_page_box a:hover {
  background: #ad504b;
  border-radius: calc(2 / var(--max-width2) * var(--max-width));
  color: #fff;
}

.d_empty {
  display: block;
  width: calc(96 / var(--max-width2) * var(--max-width));
  height: calc(110 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(138 / var(--max-width2) * var(--max-width)) auto 0;
}
.fallback .d_empty {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/d_empty.png");
}
.webp .d_empty {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/d_empty.webp");
}

.dia_share,
.prev_share {
  width: calc(360 / var(--max-width2) * var(--max-width));
  height: calc(764 / var(--max-width2) * var(--max-width));
  font-family: "cala";
}
.dia_share.type2 .dia_sharebg,
.dia_share.type2 .prev_sharebg,
.prev_share.type2 .dia_sharebg,
.prev_share.type2 .prev_sharebg {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_bg2.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.type2 .dia_sharebg,
.prev_share.type2 .dia_sharebg {
  display: none;
}
.dia_share.type2 .dia_sharebg2,
.prev_share.type2 .dia_sharebg2 {
  display: block;
}
.dia_share.type2 .dia_sharename,
.dia_share.type2 .prev_sharename,
.prev_share.type2 .dia_sharename,
.prev_share.type2 .prev_sharename {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_name2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.type2 .dia_share_p1,
.dia_share.type2 .prev_share_p1,
.prev_share.type2 .dia_share_p1,
.prev_share.type2 .prev_share_p1 {
  color: #393535;
}
.dia_share.type2 .dia_share_p5,
.dia_share.type2 .prev_share_p5,
.prev_share.type2 .dia_share_p5,
.prev_share.type2 .prev_share_p5 {
  color: #ddd5b5;
}
.dia_share.type2 .dia_share_codepara,
.dia_share.type2 .prev_share_codepara,
.prev_share.type2 .dia_share_codepara,
.prev_share.type2 .prev_share_codepara {
  color: #d8cea7;
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_code_bg2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.type2 .dia_share_p6,
.dia_share.type2 .prev_share_p6,
.prev_share.type2 .dia_share_p6,
.prev_share.type2 .prev_share_p6 {
  color: #ddd5b5;
}
.dia_share.type2 .dia_share_newicon,
.dia_share.type2 .prev_share_newicon,
.prev_share.type2 .dia_share_newicon,
.prev_share.type2 .prev_share_newicon {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/newicon2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.dia_xrshare .dia_sharebg,
.dia_share.dia_xrshare .prev_sharebg, .dia_share.prev_xrshare .dia_sharebg,
.dia_share.prev_xrshare .prev_sharebg,
.prev_share.dia_xrshare .dia_sharebg,
.prev_share.dia_xrshare .prev_sharebg,
.prev_share.prev_xrshare .dia_sharebg,
.prev_share.prev_xrshare .prev_sharebg {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_xrbg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.dia_xrshare .dia_share_codepara,
.dia_share.dia_xrshare .prev_share_codepara, .dia_share.prev_xrshare .dia_share_codepara,
.dia_share.prev_xrshare .prev_share_codepara,
.prev_share.dia_xrshare .dia_share_codepara,
.prev_share.dia_xrshare .prev_share_codepara,
.prev_share.prev_xrshare .dia_share_codepara,
.prev_share.prev_xrshare .prev_share_codepara {
  font-size: calc(22 / var(--max-width2) * var(--max-width));
  text-align: center;
  line-height: calc(32 / var(--max-width2) * var(--max-width));
}
.dia_share.dia_xrshare .dia_share_codepara2,
.dia_share.dia_xrshare .prev_share_codepara2, .dia_share.prev_xrshare .dia_share_codepara2,
.dia_share.prev_xrshare .prev_share_codepara2,
.prev_share.dia_xrshare .dia_share_codepara2,
.prev_share.dia_xrshare .prev_share_codepara2,
.prev_share.prev_xrshare .dia_share_codepara2,
.prev_share.prev_xrshare .prev_share_codepara2 {
  font-size: calc(22 / var(--max-width2) * var(--max-width));
  line-height: calc(52 / var(--max-width2) * var(--max-width));
}
.dia_share.dia_xrshare .dia_share_p1,
.dia_share.dia_xrshare .prev_share_p1, .dia_share.prev_xrshare .dia_share_p1,
.dia_share.prev_xrshare .prev_share_p1,
.prev_share.dia_xrshare .dia_share_p1,
.prev_share.dia_xrshare .prev_share_p1,
.prev_share.prev_xrshare .dia_share_p1,
.prev_share.prev_xrshare .prev_share_p1 {
  top: calc(142 / var(--max-width2) * var(--max-width));
}
.dia_share.dia_xrshare .dia_sharerole,
.dia_share.dia_xrshare .prev_sharerole, .dia_share.prev_xrshare .dia_sharerole,
.dia_share.prev_xrshare .prev_sharerole,
.prev_share.dia_xrshare .dia_sharerole,
.prev_share.dia_xrshare .prev_sharerole,
.prev_share.prev_xrshare .dia_sharerole,
.prev_share.prev_xrshare .prev_sharerole {
  top: calc(160 / var(--max-width2) * var(--max-width));
}
.dia_share.dia_xrshare.type2 .dia_sharebg,
.dia_share.dia_xrshare.type2 .prev_sharebg, .dia_share.prev_xrshare.type2 .dia_sharebg,
.dia_share.prev_xrshare.type2 .prev_sharebg,
.prev_share.dia_xrshare.type2 .dia_sharebg,
.prev_share.dia_xrshare.type2 .prev_sharebg,
.prev_share.prev_xrshare.type2 .dia_sharebg,
.prev_share.prev_xrshare.type2 .prev_sharebg {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_xrbg2.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.dia_xrshare.type2 .dia_sharebg, .dia_share.prev_xrshare.type2 .dia_sharebg,
.prev_share.dia_xrshare.type2 .dia_sharebg,
.prev_share.prev_xrshare.type2 .dia_sharebg {
  display: none;
}
.dia_share.dia_xrshare.type2 .dia_sharebg2, .dia_share.prev_xrshare.type2 .dia_sharebg2,
.prev_share.dia_xrshare.type2 .dia_sharebg2,
.prev_share.prev_xrshare.type2 .dia_sharebg2 {
  display: block;
}
.dia_share.dia_xrshare.type2 .dia_new_sharet,
.dia_share.dia_xrshare.type2 .prev_new_sharet, .dia_share.prev_xrshare.type2 .dia_new_sharet,
.dia_share.prev_xrshare.type2 .prev_new_sharet,
.prev_share.dia_xrshare.type2 .dia_new_sharet,
.prev_share.dia_xrshare.type2 .prev_new_sharet,
.prev_share.prev_xrshare.type2 .dia_new_sharet,
.prev_share.prev_xrshare.type2 .prev_new_sharet {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_new_t1_2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.dia_xrshare.type2 .dia_new_sharet, .dia_share.prev_xrshare.type2 .dia_new_sharet,
.prev_share.dia_xrshare.type2 .dia_new_sharet,
.prev_share.prev_xrshare.type2 .dia_new_sharet {
  display: none;
}
.dia_share.dia_xrshare.type2 .dia_new_sharet2, .dia_share.prev_xrshare.type2 .dia_new_sharet2,
.prev_share.dia_xrshare.type2 .dia_new_sharet2,
.prev_share.prev_xrshare.type2 .dia_new_sharet2 {
  display: block;
}
.dia_share.dia_xrshare.type2 .dia_share_img,
.dia_share.dia_xrshare.type2 .prev_share_img, .dia_share.prev_xrshare.type2 .dia_share_img,
.dia_share.prev_xrshare.type2 .prev_share_img,
.prev_share.dia_xrshare.type2 .dia_share_img,
.prev_share.dia_xrshare.type2 .prev_share_img,
.prev_share.prev_xrshare.type2 .dia_share_img,
.prev_share.prev_xrshare.type2 .prev_share_img {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_gift_imgbg2.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.dia_xrshare.type2 .dia_share_code,
.dia_share.dia_xrshare.type2 .prev_share_code, .dia_share.prev_xrshare.type2 .dia_share_code,
.dia_share.prev_xrshare.type2 .prev_share_code,
.prev_share.dia_xrshare.type2 .dia_share_code,
.prev_share.dia_xrshare.type2 .prev_share_code,
.prev_share.prev_xrshare.type2 .dia_share_code,
.prev_share.prev_xrshare.type2 .prev_share_code {
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/code_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share.dia_xrshare.type2 .dia_share_code .codebg,
.dia_share.dia_xrshare.type2 .prev_share_code .codebg, .dia_share.prev_xrshare.type2 .dia_share_code .codebg,
.dia_share.prev_xrshare.type2 .prev_share_code .codebg,
.prev_share.dia_xrshare.type2 .dia_share_code .codebg,
.prev_share.dia_xrshare.type2 .prev_share_code .codebg,
.prev_share.prev_xrshare.type2 .dia_share_code .codebg,
.prev_share.prev_xrshare.type2 .prev_share_code .codebg {
  display: none;
}
.dia_share.dia_xrshare.type2 .dia_share_code .codebg2,
.dia_share.dia_xrshare.type2 .prev_share_code .codebg2, .dia_share.prev_xrshare.type2 .dia_share_code .codebg2,
.dia_share.prev_xrshare.type2 .prev_share_code .codebg2,
.prev_share.dia_xrshare.type2 .dia_share_code .codebg2,
.prev_share.dia_xrshare.type2 .prev_share_code .codebg2,
.prev_share.prev_xrshare.type2 .dia_share_code .codebg2,
.prev_share.prev_xrshare.type2 .prev_share_code .codebg2 {
  display: block;
}
.dia_share.newicon .dia_newicon,
.dia_share.newicon .dia_share_newicon,
.dia_share.newicon .prev_newicon,
.dia_share.newicon .prev_share_newicon,
.prev_share.newicon .dia_newicon,
.prev_share.newicon .dia_share_newicon,
.prev_share.newicon .prev_newicon,
.prev_share.newicon .prev_share_newicon {
  display: block;
}

.prev_share {
  transform: scale(0.3);
  transform-origin: 0 0;
}

.dia_share_code,
.prev_share_code {
  width: calc(80 / var(--max-width2) * var(--max-width));
  height: calc(110 / var(--max-width2) * var(--max-width));
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/code_bg.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(254 / var(--max-width2) * var(--max-width));
  top: calc(468 / var(--max-width2) * var(--max-width));
}
.dia_share_code img,
.dia_share_code canvas,
.prev_share_code img,
.prev_share_code canvas {
  display: block;
  width: calc(74 / var(--max-width2) * var(--max-width));
  height: calc(74 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(3 / var(--max-width2) * var(--max-width));
  top: calc(3 / var(--max-width2) * var(--max-width));
  z-index: 10;
}
.dia_share_code .codebg,
.dia_share_code .codebg2,
.prev_share_code .codebg,
.prev_share_code .codebg2 {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 0;
}
.dia_share_code .codebg2,
.prev_share_code .codebg2 {
  display: none;
}

.dia_share_code {
  background: none !important;
}

.dia_share_tips,
.prev_share_tips {
  width: 100%;
  position: absolute;
  left: 0;
  top: calc(66 / var(--max-width2) * var(--max-width));
  text-align: center;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: rgba(255, 255, 255, 0.5);
}

.h5show {
  display: none;
}

.dia_new_sharet,
.prev_new_sharet, .dia_new_sharet2 {
  display: block;
  width: calc(288 / var(--max-width2) * var(--max-width));
  height: calc(36 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  position: absolute;
  left: calc(33 / var(--max-width2) * var(--max-width));
  top: calc(58 / var(--max-width2) * var(--max-width));
}
.fallback .dia_new_sharet,
.fallback .prev_new_sharet, .fallback .dia_new_sharet2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_new_t1.png");
}
.webp .dia_new_sharet,
.webp .prev_new_sharet, .webp .dia_new_sharet2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/share_new_t1.webp");
}
.dia_new_sharet img,
.prev_new_sharet img, .dia_new_sharet2 img {
  display: block;
  width: 100%;
  height: 100%;
}

.dia_new_sharet2 {
  display: none;
  background: none;
}

.dia_share_img,
.prev_share_img {
  display: block;
  width: calc(210 / var(--max-width2) * var(--max-width));
  height: calc(73 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(34 / var(--max-width2) * var(--max-width));
  top: calc(468 / var(--max-width2) * var(--max-width));
}
.fallback .dia_share_img,
.fallback .prev_share_img {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_gift_imgbg.png");
}
.webp .dia_share_img,
.webp .prev_share_img {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/share_gift_imgbg.webp");
}
.dia_share_img img,
.prev_share_img img {
  display: block;
  width: 100%;
  height: 100%;
}

.dia_sharebox,
.prev_sharebox {
  width: calc(360 / var(--max-width2) * var(--max-width));
  height: calc(640 / var(--max-width2) * var(--max-width));
  position: relative;
}

.dia_sharebox_in,
.prev_sharebox_in {
  width: calc(360 / var(--max-width2) * var(--max-width));
  height: calc(640 / var(--max-width2) * var(--max-width));
}

.dia_sharebg,
.prev_sharebg, .dia_sharebg2 {
  width: calc(360 / var(--max-width2) * var(--max-width));
  height: calc(640 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_sharebg,
.fallback .prev_sharebg, .fallback .dia_sharebg2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_bg.jpg");
}
.webp .dia_sharebg,
.webp .prev_sharebg, .webp .dia_sharebg2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/share_bg.webp");
}
.dia_sharebg img,
.prev_sharebg img, .dia_sharebg2 img {
  display: block;
  width: calc(361 / var(--max-width2) * var(--max-width));
  height: 100%;
}

.dia_sharebg2 {
  display: none;
}

.dia_share_cont,
.prev_share_cont {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 20;
}

.certificateBox_share_img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 50;
  opacity: 0;
}

.dia_sharename,
.prev_sharename {
  width: calc(330 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  font: 12px/1.5 tahoma, "u65b9u6b63u5170u4eadu9ed1", sans-serif;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  position: absolute;
  left: 50%;
  top: calc(60 / var(--max-width2) * var(--max-width));
  margin-left: calc(-165 / var(--max-width2) * var(--max-width));
  text-align: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
}
.fallback .dia_sharename,
.fallback .prev_sharename {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_name.png");
}
.webp .dia_sharename,
.webp .prev_sharename {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/share_name.webp");
}
.dia_sharename span,
.prev_sharename span {
  color: #ffffbe;
  display: inline-block;
  max-width: calc(128 / var(--max-width2) * var(--max-width));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  padding-right: calc(7 / var(--max-width2) * var(--max-width));
}

.dia_share_chtips {
  display: block;
  width: calc(168 / var(--max-width2) * var(--max-width));
  height: calc(26 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  top: calc(61 / var(--max-width2) * var(--max-width));
  line-height: calc(26 / var(--max-width2) * var(--max-width));
  box-sizing: border-box;
  padding-left: calc(22 / var(--max-width2) * var(--max-width));
  color: #3c4453;
  font-family: "calabold";
  font-size: calc(18 / var(--max-width2) * var(--max-width));
}

.dia_sharech {
  display: block;
  font-size: calc(48 / var(--max-width2) * var(--max-width));
  color: #4e7cf4;
  line-height: calc(50 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(22 / var(--max-width2) * var(--max-width));
  top: calc(98 / var(--max-width2) * var(--max-width));
  font-weight: normal;
  font-family: "calabold";
}

.dia_sharerole,
.prev_sharerole {
  width: calc(288 / var(--max-width2) * var(--max-width));
  height: calc(300 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(40 / var(--max-width2) * var(--max-width));
  top: calc(180 / var(--max-width2) * var(--max-width));
}
.dia_sharerole img,
.prev_sharerole img {
  display: block;
  width: calc(288 / var(--max-width2) * var(--max-width));
  height: calc(300 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.dia_sharerole img.role1,
.prev_sharerole img.role1 {
  z-index: 0;
}
.dia_sharerole img.role2,
.prev_sharerole img.role2 {
  z-index: 5;
}
.dia_sharerole img.role3,
.prev_sharerole img.role3 {
  z-index: 10;
}
.dia_sharerole img.role4,
.prev_sharerole img.role4 {
  z-index: 15;
}
.dia_sharerole img.role5,
.prev_sharerole img.role5 {
  z-index: 20;
}

.dia_newicon,
.prev_newicon {
  display: block;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 30;
  display: none;
}
.fallback .dia_newicon,
.fallback .prev_newicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/pnewicon.png");
}
.webp .dia_newicon,
.webp .prev_newicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/pnewicon.webp");
}

.dia_xrjsicon {
  width: calc(111 / var(--max-width2) * var(--max-width));
  height: calc(22 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: calc(30 / var(--max-width2) * var(--max-width));
  z-index: 40;
}
.fallback .dia_xrjsicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/xrjsicon.png");
}
.webp .dia_xrjsicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/xrjsicon.webp");
}

.dia_share_newicon,
.prev_share_newicon {
  display: block;
  width: calc(88 / var(--max-width2) * var(--max-width));
  height: calc(90 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(264 / var(--max-width2) * var(--max-width));
  top: calc(198 / var(--max-width2) * var(--max-width));
  z-index: 30;
  display: none;
}
.fallback .dia_share_newicon,
.fallback .prev_share_newicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/newicon.png");
}
.webp .dia_share_newicon,
.webp .prev_share_newicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/newicon.webp");
}

.dia_share_p1,
.prev_share_p1 {
  width: calc(226 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  margin-left: calc(-113 / var(--max-width2) * var(--max-width));
  top: calc(154 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  line-height: calc(20 / var(--max-width2) * var(--max-width));
  color: #d8cea7;
  font-family: "cala";
  text-align: center;
}

.dia_share_p2,
.prev_share_p2 {
  position: absolute;
  left: calc(32 / var(--max-width2) * var(--max-width));
  top: calc(440 / var(--max-width2) * var(--max-width));
  height: calc(54 / var(--max-width2) * var(--max-width));
  line-height: calc(54 / var(--max-width2) * var(--max-width));
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #3c4453;
  font-family: "calabold";
}

.dia_share_p3,
.prev_share_p3 {
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #5f6d7f;
  position: absolute;
  left: calc(24 / var(--max-width2) * var(--max-width));
  top: calc(510 / var(--max-width2) * var(--max-width));
}

.dia_share_p4,
.prev_share_p4 {
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  line-height: calc(26 / var(--max-width2) * var(--max-width));
  color: #4e7cf4;
  position: absolute;
  left: calc(24 / var(--max-width2) * var(--max-width));
  top: calc(536 / var(--max-width2) * var(--max-width));
  font-family: "calabold";
}

.dia_share_p5,
.prev_share_p5 {
  font-size: calc(30 / var(--max-width2) * var(--max-width));
  line-height: calc(50 / var(--max-width2) * var(--max-width));
  color: #544c2d;
  position: absolute;
  left: calc(34 / var(--max-width2) * var(--max-width));
  top: calc(494 / var(--max-width2) * var(--max-width));
  font-family: "SourceHanSerifCN-Bold";
}

.dia_share_p5s,
.prev_share_p5s {
  height: calc(54 / var(--max-width2) * var(--max-width));
  top: calc(470 / var(--max-width2) * var(--max-width));
  display: flex;
  align-items: center;
  font-size: calc(28 / var(--max-width2) * var(--max-width));
  line-height: calc(32 / var(--max-width2) * var(--max-width));
}
.dia_share_p5s:after,
.prev_share_p5s:after {
  content: "";
  width: calc(230 / var(--max-width2) * var(--max-width));
  height: calc(9 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
}
.fallback .dia_share_p5s:after,
.fallback .prev_share_p5s:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_nameline.png");
}
.webp .dia_share_p5s:after,
.webp .prev_share_p5s:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/share_nameline.webp");
}

.dia_share_p6,
.prev_share_p6 {
  width: 200%;
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  line-height: calc(28 / var(--max-width2) * var(--max-width));
  color: #544c2d;
  position: absolute;
  left: 0;
  top: calc(584 / var(--max-width2) * var(--max-width));
  transform: scale(0.5);
  transform-origin: 0 0;
  text-align: center;
}

.dia_sharejs .dia_share_p6,
.dia_sharejs .prev_share_p6,
.prev_sharejs .dia_share_p6,
.prev_sharejs .prev_share_p6 {
  color: #fff8c9;
}

.dia_share_codepara,
.prev_share_codepara {
  width: calc(210 / var(--max-width2) * var(--max-width));
  height: calc(34 / var(--max-width2) * var(--max-width));
  font-size: calc(22 / var(--max-width2) * var(--max-width));
  line-height: calc(34 / var(--max-width2) * var(--max-width));
  font-family: "SourceHanSerifCN-Bold";
  color: #d8cea7;
  text-align: left;
  position: absolute;
  left: calc(34 / var(--max-width2) * var(--max-width));
  top: calc(544 / var(--max-width2) * var(--max-width));
  text-indent: calc(6 / var(--max-width2) * var(--max-width));
  white-space: nowrap;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_share_codepara,
.fallback .prev_share_codepara {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/share_code_bg.jpg");
}
.webp .dia_share_codepara,
.webp .prev_share_codepara {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/share_code_bg.webp");
}
.dia_share_codepara2,
.prev_share_codepara2 {
  top: calc(522 / var(--max-width2) * var(--max-width));
  height: calc(56 / var(--max-width2) * var(--max-width));
  line-height: calc(52 / var(--max-width2) * var(--max-width));
}

.dia_share_codezw,
.prev_share_codezw {
  width: calc(80 / var(--max-width2) * var(--max-width));
  height: calc(84 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(254 / var(--max-width2) * var(--max-width));
  top: calc(494 / var(--max-width2) * var(--max-width));
  z-index: 20;
  background: url("https://game.gtimg.cn/images/kq/cp/CardMagic/code_zw.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.dia_share_codebg,
.prev_share_codebg {
  display: block;
  width: 100%;
  height: 100%;
}

.dia_share_codeimg,
.prev_share_codeimg {
  display: block;
  width: calc(68 / var(--max-width2) * var(--max-width));
  height: calc(68 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(5 / var(--max-width2) * var(--max-width));
  top: calc(4 / var(--max-width2) * var(--max-width));
}

.d_longpres {
  display: none;
}

.dia_sharebtn_box {
  width: calc(750 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  display: flex;
  justify-content: center;
}
.dia_sharebtn_box a {
  display: block;
  width: calc(277 / var(--max-width2) * var(--max-width));
  height: calc(64 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  margin: 0 calc(20 / var(--max-width2) * var(--max-width));
  display: flex;
  justify-content: center;
  align-items: center;
}
.fallback .dia_sharebtn_box a {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_sharebtn_hov.png");
}
.webp .dia_sharebtn_box a {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_sharebtn_hov.webp");
}
.dia_sharebtn_box a strong {
  display: block;
  width: 100%;
  text-align: center;
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #392321;
  font-weight: normal;
  line-height: calc(26 / var(--max-width2) * var(--max-width));
}

.dia2 {
  width: calc(1000 / var(--max-width2) * var(--max-width));
  height: calc(592 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: "cala";
}
.fallback .dia2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_bg2.png");
}
.webp .dia2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_bg2.webp");
}

.dia_test_box {
  width: calc(960 / var(--max-width2) * var(--max-width));
  height: calc(596 / var(--max-width2) * var(--max-width));
  display: flex;
}

.dia_test {
  width: calc(622 / var(--max-width2) * var(--max-width));
  height: calc(627 / var(--max-width2) * var(--max-width));
  position: relative;
}

.dia_test_mysc {
  width: calc(372 / var(--max-width2) * var(--max-width));
  padding-top: calc(130 / var(--max-width2) * var(--max-width));
}

.dia_test_sclist {
  width: calc(290 / var(--max-width2) * var(--max-width));
  height: calc(462 / var(--max-width2) * var(--max-width));
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.dia_test_sclist .swiper-wrapper {
  width: 100000%;
  display: flex;
}
.dia_test_sclist .swiper-wrapper li .dia_testimg_box:nth-child(1):after {
  display: none;
}

.dia_testimg_box {
  width: calc(278 / var(--max-width2) * var(--max-width));
  height: calc(192 / var(--max-width2) * var(--max-width));
  display: flex;
  position: relative;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: calc(12 / var(--max-width2) * var(--max-width));
}
.dia_testimg_box:after {
  content: "";
  width: calc(278 / var(--max-width2) * var(--max-width));
  height: calc(19 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  bottom: calc(-16 / var(--max-width2) * var(--max-width));
  z-index: 30;
}
.fallback .dia_testimg_box:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/sc_jzbox.png");
}
.webp .dia_testimg_box:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/sc_jzbox.webp");
}

.dia_testimg {
  width: calc(108 / var(--max-width2) * var(--max-width));
  height: calc(190 / var(--max-width2) * var(--max-width));
  background: #000;
  box-shadow: rgba(0, 0, 0, 0.5) calc(4 / var(--max-width2) * var(--max-width)) calc(6 / var(--max-width2) * var(--max-width)) 0;
  margin: 0 calc(16 / var(--max-width2) * var(--max-width));
}

.dia_prg {
  width: calc(108 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: calc(428 / var(--max-width2) * var(--max-width));
  margin-left: calc(-54 / var(--max-width2) * var(--max-width));
  display: flex;
  justify-content: center;
}
.dia_prg span {
  width: calc(12 / var(--max-width2) * var(--max-width));
  height: calc(12 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 0 calc(4 / var(--max-width2) * var(--max-width));
}
.fallback .dia_prg span {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/prg_icon.png");
}
.webp .dia_prg span {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/prg_icon.webp");
}
.dia_prg span.swiper-pagination-bullet-active {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_prg span.swiper-pagination-bullet-active {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/prg_iconcur.png");
}
.webp .dia_prg span.swiper-pagination-bullet-active {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/prg_iconcur.webp");
}

.test_prev,
.cg_test_prev {
  width: calc(36 / var(--max-width2) * var(--max-width));
  height: calc(36 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(42 / var(--max-width2) * var(--max-width));
  top: calc(416 / var(--max-width2) * var(--max-width));
}
.fallback .test_prev,
.fallback .cg_test_prev {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/test_prevbtn.png");
}
.webp .test_prev,
.webp .cg_test_prev {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/test_prevbtn.webp");
}
.test_prev:hover,
.cg_test_prev:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .test_prev:hover,
.fallback .cg_test_prev:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/test_prevbtn_hov.png");
}
.webp .test_prev:hover,
.webp .cg_test_prev:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/test_prevbtn_hov.webp");
}

.test_next,
.cg_test_next {
  width: calc(36 / var(--max-width2) * var(--max-width));
  height: calc(36 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(208 / var(--max-width2) * var(--max-width));
  top: calc(416 / var(--max-width2) * var(--max-width));
  transform: scale(-1, 1);
}
.fallback .test_next,
.fallback .cg_test_next {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/test_prevbtn.png");
}
.webp .test_next,
.webp .cg_test_next {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/test_prevbtn.webp");
}
.test_next:hover,
.cg_test_next:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .test_next:hover,
.fallback .cg_test_next:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/test_prevbtn_hov.png");
}
.webp .test_next:hover,
.webp .cg_test_next:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/test_prevbtn_hov.webp");
}

.cg_test_prev {
  left: calc(10 / var(--max-width2) * var(--max-width));
  top: calc(74 / var(--max-width2) * var(--max-width));
}

.cg_test_next {
  left: unset;
  right: calc(10 / var(--max-width2) * var(--max-width));
  top: calc(74 / var(--max-width2) * var(--max-width));
}

.dia_test_t {
  width: calc(490 / var(--max-width2) * var(--max-width));
  height: calc(68 / var(--max-width2) * var(--max-width));
  display: flex;
  align-items: center;
  margin: calc(82 / var(--max-width2) * var(--max-width)) 0 0 calc(54 / var(--max-width2) * var(--max-width));
  position: relative;
  z-index: 0;
}
.dia_test_t2 {
  margin: calc(72 / var(--max-width2) * var(--max-width)) 0 0 calc(54 / var(--max-width2) * var(--max-width));
}
.dia_test_t:before {
  content: "";
  width: calc(34 / var(--max-width2) * var(--max-width));
  height: calc(35 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(-34 / var(--max-width2) * var(--max-width));
  top: 50%;
  transform: translate(0, -50%);
}
.fallback .dia_test_t:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kp_icon.png");
}
.webp .dia_test_t:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kp_icon.webp");
}

.kp_test_num {
  width: calc(338 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #392321;
  position: relative;
  z-index: 999;
}
.kp_test_num span {
  color: #924642;
}
.kp_test_num2 {
  width: calc(348 / var(--max-width2) * var(--max-width));
  padding-left: calc(38 / var(--max-width2) * var(--max-width));
  box-sizing: border-box;
}
.kp_test_num2:before {
  content: "";
  height: calc(16 / var(--max-width2) * var(--max-width));
  border-left: #bdb09a solid 1px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}
.kp_test_num.kpnump {
  width: calc(130 / var(--max-width2) * var(--max-width));
}

.dia_ticon {
  display: inline-block;
  vertical-align: top;
  width: calc(9 / var(--max-width2) * var(--max-width));
  height: calc(18 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/d_ticon.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(22 / var(--max-width2) * var(--max-width)) calc(10 / var(--max-width2) * var(--max-width)) 0 0;
}
.dia_ticon2 {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/d_ticon2.png) no-repeat;
  background-size: 100% 100%;
}

.kp_tips {
  width: calc(490 / var(--max-width2) * var(--max-width));
  text-align: right;
  margin: calc(4 / var(--max-width2) * var(--max-width)) 0 0 calc(54 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #392321;
  box-sizing: border-box;
  padding-right: calc(10 / var(--max-width2) * var(--max-width));
}

.dia_test_list {
  width: calc(490 / var(--max-width2) * var(--max-width));
  margin: 0 0 0 calc(54 / var(--max-width2) * var(--max-width));
}
.dia_test_list li {
  margin-bottom: calc(6 / var(--max-width2) * var(--max-width));
  height: calc(74 / var(--max-width2) * var(--max-width));
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: calc(10 / var(--max-width2) * var(--max-width)) calc(14 / var(--max-width2) * var(--max-width));
}
.dia_test_list li.over {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_test_list li.over {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/test_ove.png");
}
.webp .dia_test_list li.over {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/test_ove.webp");
}
.dia_test_list li.over .dia_test_para,
.dia_test_list li.over .dia_test_cs {
  color: #897a6e;
}

.dia_test_img {
  width: calc(58 / var(--max-width2) * var(--max-width));
  height: calc(58 / var(--max-width2) * var(--max-width));
  position: relative;
  background: #534f46;
  cursor: pointer;
  border-radius: calc(2 / var(--max-width2) * var(--max-width));
}
.dia_test_img img {
  display: block;
  width: 100%;
  height: 100%;
}
.dia_test_img:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_rewmask.png) no-repeat;
  background-size: 100% 100%;
}
.dia_test_img .dia_test_num {
  position: absolute;
  right: calc(8 / var(--max-width2) * var(--max-width));
  bottom: calc(4 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #fff8e7;
  text-shadow: rgba(0, 0, 0, 0.5) 1px 0 2px;
  z-index: 20;
}
.dia_test_img:hover .dia_test_name {
  display: flex;
}

.dia_test_name {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #4974e2;
  border-radius: calc(2 / var(--max-width2) * var(--max-width));
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  line-height: calc(18 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  box-sizing: border-box;
  padding: 0 calc(4 / var(--max-width2) * var(--max-width));
  text-align: center;
  display: none;
}

.dia_test_para {
  width: calc(278 / var(--max-width2) * var(--max-width));
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
  line-height: calc(30 / var(--max-width2) * var(--max-width));
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 0 0 calc(14 / var(--max-width2) * var(--max-width));
}

.dia_test_cs {
  display: block;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
}

.dia_test_lqbtn {
  display: block;
  width: calc(117 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
  margin-left: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  position: relative;
}
.fallback .dia_test_lqbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_testbtn.png");
}
.webp .dia_test_lqbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_testbtn.webp");
}
.dia_test_lqbtn:after {
  -webkit-mask-image: url(https://game.gtimg.cn/images/kq/cp/CardMagic/dia_testbtn_hov.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}
.dia_test_lqbtn:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #fff;
}
.fallback .dia_test_lqbtn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_testbtn_hov.png");
}
.webp .dia_test_lqbtn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_testbtn_hov.webp");
}
.dia_test_lqbtn.over {
  background: none;
  color: #897a6e;
  pointer-events: none;
}
.dia_test_lqbtn.over:after {
  display: none;
}
.dia_test_lqbtn.over:before {
  content: "";
  width: calc(24 / var(--max-width2) * var(--max-width));
  height: calc(14 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: top;
  margin: calc(13 / var(--max-width2) * var(--max-width)) calc(6 / var(--max-width2) * var(--max-width)) 0 0;
}
.fallback .dia_test_lqbtn.over:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_testbtn_check.png");
}
.webp .dia_test_lqbtn.over:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_testbtn_check.webp");
}
.dia_test_lqbtn.over:hover {
  background: none;
}
.dia_test_lqbtn.lock {
  background: none;
  color: #897a6e;
  pointer-events: none;
  text-indent: -9999px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dia_test_lqbtn.lock:before {
  content: "";
  width: calc(27 / var(--max-width2) * var(--max-width));
  height: calc(30 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_test_lqbtn.lock:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cp_lock.png");
}
.webp .dia_test_lqbtn.lock:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cp_lock.webp");
}
.dia_test_lqbtn.tasklq {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #fff;
}
.fallback .dia_test_lqbtn.tasklq {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_testbtn_hov.png");
}
.webp .dia_test_lqbtn.tasklq {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_testbtn_hov.webp");
}

.dia_jz {
  width: calc(337 / var(--max-width2) * var(--max-width));
  height: calc(627 / var(--max-width2) * var(--max-width));
  position: relative;
}

.dia_jz_t {
  display: block;
  width: calc(285 / var(--max-width2) * var(--max-width));
  height: calc(68 / var(--max-width2) * var(--max-width));
  position: relative;
  margin: calc(32 / var(--max-width2) * var(--max-width)) 0 0 calc(27 / var(--max-width2) * var(--max-width));
  font-size: calc(30 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-family: "calabold";
  line-height: calc(68 / var(--max-width2) * var(--max-width));
  border-bottom: rgba(255, 255, 255, 0.2) solid 1px;
  box-sizing: border-box;
  text-align: center;
}
.dia_jz_t:before, .dia_jz_t:after {
  content: "";
  width: calc(18 / var(--max-width2) * var(--max-width));
  border-bottom: #fff solid 1px;
  position: absolute;
  left: 0;
  bottom: -1px;
}
.dia_jz_t:after {
  left: unset;
  right: 0;
}

.dia_jc_jz {
  width: calc(95 / var(--max-width2) * var(--max-width));
  height: calc(115 / var(--max-width2) * var(--max-width));
  margin: calc(32 / var(--max-width2) * var(--max-width)) auto 0;
  position: relative;
}
.dia_jc_jz:after {
  -webkit-mask-image: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/jc_jzmask.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}
.dia_jc_jz img {
  display: block;
  width: 100%;
  height: 100%;
}
.dia_jc_jz:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 65%) 100% 50%/800% 100%;
  pointer-events: none;
  z-index: 30;
  animation: saoguangc 2s ease infinite;
}

.dia_jc_num {
  text-align: center;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  line-height: calc(24 / var(--max-width2) * var(--max-width));
  margin: calc(6 / var(--max-width2) * var(--max-width)) auto 0;
}

.dia_jy_jz {
  width: calc(112 / var(--max-width2) * var(--max-width));
  height: calc(127 / var(--max-width2) * var(--max-width));
  margin: calc(18 / var(--max-width2) * var(--max-width)) auto 0;
}
.dia_jy_jz:after {
  -webkit-mask-image: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/jc_jzmask.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}
.dia_jy_jz .dia_jy_jzimg {
  display: block;
  width: 100%;
  height: 100%;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/jy_jz_grey.png) no-repeat;
  background-size: 100% 100%;
}
.dia_jy_jz.light {
  position: relative;
}
.dia_jy_jz.light .dia_jy_jzimg {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/jy_jz.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_jy_jz.light:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 65%) 100% 50%/800% 100%;
  pointer-events: none;
  z-index: 30;
  animation: saoguangc 2s ease infinite;
}

.dia_lightbtn {
  display: block;
  width: calc(160 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_lightbtn.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
  margin-left: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  margin: calc(9 / var(--max-width2) * var(--max-width)) auto 0;
}
.dia_lightbtn:hover {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_lightbtn_hov.png) no-repeat;
  background-size: 100% 100%;
  color: #222222;
}
.dia_lightbtn.over {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_lightbtn_ove.png) no-repeat;
  background-size: 100% 100%;
  color: #ffffff;
}
.dia_lightbtn.over:before {
  content: "";
  width: calc(24 / var(--max-width2) * var(--max-width));
  height: calc(14 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_check.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: top;
  margin: calc(13 / var(--max-width2) * var(--max-width)) calc(6 / var(--max-width2) * var(--max-width)) 0 0;
}
.dia_lightbtn.over:hover {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_lightbtn_ove.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #ffffff;
}

.dia3 {
  width: calc(1000 / var(--max-width2) * var(--max-width));
  height: calc(592 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: "cala";
}
.fallback .dia3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_bg3.png");
}
.webp .dia3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_bg3.webp");
}

.dia4 {
  width: calc(1000 / var(--max-width2) * var(--max-width));
  height: calc(592 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: "cala";
}
.fallback .dia4 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/jh_bg.png");
}
.webp .dia4 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/jh_bg.webp");
}

.dia_jy_tx {
  width: calc(684 / var(--max-width2) * var(--max-width));
  margin: calc(16 / var(--max-width2) * var(--max-width)) 0 0 calc(220 / var(--max-width2) * var(--max-width));
  position: relative;
  box-sizing: border-box;
  padding-left: calc(40 / var(--max-width2) * var(--max-width));
}

.dia_jy_t {
  display: block;
  width: calc(165 / var(--max-width2) * var(--max-width));
  height: calc(138 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_jy_t.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(-164 / var(--max-width2) * var(--max-width));
  top: calc(37 / var(--max-width2) * var(--max-width));
  text-indent: -9999px;
}
.dia_jy_t2 {
  height: calc(312 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_jy_t2.png) no-repeat;
  background-size: 100% 100%;
  top: calc(17 / var(--max-width2) * var(--max-width));
}

.dia_jy_list {
  width: 100%;
}
.dia_jy_list li {
  height: calc(103 / var(--max-width2) * var(--max-width));
  position: relative;
  display: flex;
  align-items: center;
}
.dia_jy_list li.over {
  opacity: 0.3;
}
.dia_jy_list li.over .dia_jy_lqbtn {
  display: none;
}
.dia_jy_list2 li {
  margin-bottom: calc(20 / var(--max-width2) * var(--max-width));
}

.dia_jy_tj {
  width: calc(508 / var(--max-width2) * var(--max-width));
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  box-sizing: border-box;
  padding-left: calc(110 / var(--max-width2) * var(--max-width));
}
.dia_jy_tj .jyspace {
  display: inline-block;
  vertical-align: top;
  width: calc(110 / var(--max-width2) * var(--max-width));
  margin-left: calc(-110 / var(--max-width2) * var(--max-width));
}

.dia_jy_lqbtn {
  display: block;
  width: calc(110 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
  margin-left: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  position: relative;
}
.dia_jy_lqbtn:after {
  -webkit-mask-image: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_mask.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}
.dia_jy_lqbtn:hover {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_hov.png) no-repeat;
  background-size: 100% 100%;
}
.dia_jy_lqbtn.over {
  background: none;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.dia_jy_lqbtn.over:before {
  content: "";
  width: calc(46 / var(--max-width2) * var(--max-width));
  height: calc(28 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_check2.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: top;
  margin: calc(3 / var(--max-width2) * var(--max-width)) 0 0 0;
}
.dia_jy_lqbtn.over:after {
  display: none;
}
.dia_jy_lqbtn.over:hover {
  background: none;
}

.dia_jy_img {
  width: calc(64 / var(--max-width2) * var(--max-width));
  height: calc(64 / var(--max-width2) * var(--max-width));
  position: relative;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_rewbg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_jy_img img {
  display: block;
  width: 100%;
  height: 100%;
}
.dia_jy_img:before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 65%) 100% 50%/800% 100%;
  pointer-events: none;
  z-index: 30;
  animation: saoguangc 2s ease infinite;
}
.dia_jy_img:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_rewmask.png) no-repeat;
  background-size: 100% 100%;
}
.dia_jy_img .dia_test_num {
  position: absolute;
  right: calc(8 / var(--max-width2) * var(--max-width));
  bottom: calc(4 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  text-shadow: rgba(0, 0, 0, 0.5) 1px 0 2px;
  z-index: 20;
}

.dia_jy_detail {
  width: calc(432 / var(--max-width2) * var(--max-width));
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: calc(16 / var(--max-width2) * var(--max-width));
}

.dia_jy_detailname {
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  line-height: calc(22 / var(--max-width2) * var(--max-width));
}

.dia_jy_include {
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #88c6fa;
  line-height: calc(18 / var(--max-width2) * var(--max-width));
  margin-top: calc(6 / var(--max-width2) * var(--max-width));
}

.dia_tg_lqbtn {
  display: block;
  width: calc(110 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: calc(40 / var(--max-width2) * var(--max-width));
  margin-left: calc(20 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  position: relative;
}
.dia_tg_lqbtn:after {
  -webkit-mask-image: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_mask.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}
.dia_tg_lqbtn:hover {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_hov.png) no-repeat;
  background-size: 100% 100%;
}
.dia_tg_lqbtn.over {
  background: none;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.dia_tg_lqbtn.over:before {
  content: "";
  width: calc(24 / var(--max-width2) * var(--max-width));
  height: calc(14 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_check.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: top;
  margin: calc(13 / var(--max-width2) * var(--max-width)) calc(6 / var(--max-width2) * var(--max-width)) 0 0;
}
.dia_tg_lqbtn.over:after {
  display: none;
}
.dia_tg_lqbtn.over:hover {
  background: none;
}
.dia_tg_lqbtn.lock {
  background: none;
  pointer-events: none;
}
.dia_tg_lqbtn.lock:before {
  content: "";
  width: calc(27 / var(--max-width2) * var(--max-width));
  height: calc(30 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_testbtn_lock.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: inline-block;
  vertical-align: top;
  margin: calc(5 / var(--max-width2) * var(--max-width)) 0 0 0;
}
.dia_tg_lqbtn.lock:hover {
  background: none;
}

.kl_bz {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
}

.kl_bz_in {
  width: calc(644 / var(--max-width2) * var(--max-width));
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.kl_bz_t {
  display: block;
  width: calc(246 / var(--max-width2) * var(--max-width));
  height: calc(47 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_title.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-indent: -9999px;
  margin: calc(44 / var(--max-width2) * var(--max-width)) auto 0;
}

.kl_bz_tpara {
  text-align: center;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #89a1c7;
  margin: calc(16 / var(--max-width2) * var(--max-width)) auto 0;
}

.kl_bz_tpara2 {
  height: calc(25 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_jzbg.png) no-repeat top center;
  background-size: auto 100%;
  text-align: center;
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  line-height: calc(25 / var(--max-width2) * var(--max-width));
  margin: calc(14 / var(--max-width2) * var(--max-width)) auto 0;
}

.kl_bz_jzicon {
  display: inline-block;
  vertical-align: top;
  width: calc(17 / var(--max-width2) * var(--max-width));
  height: calc(21 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_jzicon.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(3 / var(--max-width2) * var(--max-width)) calc(7 / var(--max-width2) * var(--max-width)) 0 0;
}

.kl_bz_xz {
  width: calc(442 / var(--max-width2) * var(--max-width));
  height: calc(442 / var(--max-width2) * var(--max-width));
  margin: calc(12 / var(--max-width2) * var(--max-width)) auto 0;
  position: relative;
}
.kl_bz_xz li {
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}
.kl_bz_xz li.klbz1 {
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(135 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg1.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz2 {
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(110 / var(--max-width2) * var(--max-width));
  left: calc(152 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg2.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz3 {
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(135 / var(--max-width2) * var(--max-width));
  left: calc(307 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg3.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz4 {
  width: calc(110 / var(--max-width2) * var(--max-width));
  height: calc(135 / var(--max-width2) * var(--max-width));
  top: calc(153 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg4.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz4 .kl_bz_img {
  transform: translate(-57%, -50%);
}
.kl_bz_xz li.klbz5 {
  width: calc(222 / var(--max-width2) * var(--max-width));
  height: calc(222 / var(--max-width2) * var(--max-width));
  left: calc(110 / var(--max-width2) * var(--max-width));
  top: calc(110 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg5.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz6 {
  width: calc(110 / var(--max-width2) * var(--max-width));
  height: calc(135 / var(--max-width2) * var(--max-width));
  left: calc(330 / var(--max-width2) * var(--max-width));
  top: calc(153 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg6.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz6 .kl_bz_img {
  transform: translate(-43%, -50%);
}
.kl_bz_xz li.klbz7 {
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(135 / var(--max-width2) * var(--max-width));
  top: calc(307 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg7.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz8 {
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(110 / var(--max-width2) * var(--max-width));
  left: calc(152 / var(--max-width2) * var(--max-width));
  top: calc(330 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg8.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.klbz9 {
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(135 / var(--max-width2) * var(--max-width));
  left: calc(307 / var(--max-width2) * var(--max-width));
  top: calc(307 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg9.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.unlock {
  pointer-events: unset;
}
.kl_bz_xz li.unlock .kl_bz_img2 {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg5_img_light.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_xz li.unlock .kl_bz_img2:before {
  display: none;
}
.kl_bz_xz li:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  display: none;
}
.kl_bz_xz li.light:after, .kl_bz_xz li:hover:after {
  display: block;
}
.kl_bz_xz li.light.klbz1:after, .kl_bz_xz li:hover.klbz1:after {
  display: block;
  width: calc(147 / var(--max-width2) * var(--max-width));
  height: calc(147 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg1_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz2:after, .kl_bz_xz li:hover.klbz2:after {
  width: calc(147 / var(--max-width2) * var(--max-width));
  height: calc(122 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg2_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz3:after, .kl_bz_xz li:hover.klbz3:after {
  width: calc(147 / var(--max-width2) * var(--max-width));
  height: calc(147 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg3_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz4:after, .kl_bz_xz li:hover.klbz4:after {
  width: calc(122 / var(--max-width2) * var(--max-width));
  height: calc(147 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg4_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz5:after, .kl_bz_xz li:hover.klbz5:after {
  width: calc(236 / var(--max-width2) * var(--max-width));
  height: calc(236 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg5_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz6:after, .kl_bz_xz li:hover.klbz6:after {
  width: calc(122 / var(--max-width2) * var(--max-width));
  height: calc(147 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg6_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz7:after, .kl_bz_xz li:hover.klbz7:after {
  width: calc(147 / var(--max-width2) * var(--max-width));
  height: calc(147 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg7_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz8:after, .kl_bz_xz li:hover.klbz8:after {
  width: calc(147 / var(--max-width2) * var(--max-width));
  height: calc(122 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg8_light.png) no-repeat;
  background-size: 100% 100%;
}
.kl_bz_xz li.light.klbz9:after, .kl_bz_xz li:hover.klbz9:after {
  width: calc(147 / var(--max-width2) * var(--max-width));
  height: calc(147 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg9_light.png) no-repeat;
  background-size: 100% 100%;
}

.klbz_ptips {
  display: none;
}

.kl_bz_img {
  display: block;
  width: calc(133 / var(--max-width2) * var(--max-width));
  height: calc(133 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  object-fit: cover;
}

.kl_bz_img2 {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg5_img.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.kl_bz_img2:before {
  content: "";
  width: calc(27 / var(--max-width2) * var(--max-width));
  height: calc(30 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg5_lock.png) no-repeat;
  background-size: 100% 100%;
  transform: translate(-50%, -50%);
  z-index: 20;
}
.kl_bz_img2:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_ibg5_mask.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 50%;
  z-index: 10;
}

.kl_bz_line {
  display: block;
  width: calc(440 / var(--max-width2) * var(--max-width));
  height: 1px;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/bz_line.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(14 / var(--max-width2) * var(--max-width)) auto 0;
}

.kl_bz_xzpara {
  width: 100%;
  text-align: center;
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  line-height: calc(26 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-family: "calabold";
  margin: calc(14 / var(--max-width2) * var(--max-width)) auto 0;
}

.kl_xz_box {
  display: block;
  width: calc(440 / var(--max-width2) * var(--max-width));
  height: calc(140 / var(--max-width2) * var(--max-width));
  margin: calc(14 / var(--max-width2) * var(--max-width)) auto 0;
  position: relative;
}
.kl_xz_box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: floating 4s linear infinite;
}

.kl_xz_list {
  width: calc(61 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}
.kl_xz_list li {
  display: block;
  width: calc(61 / var(--max-width2) * var(--max-width));
  height: calc(70 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/side_btn.png) no-repeat left top;
  background-size: auto 100%;
  box-sizing: border-box;
  padding-left: calc(10 / var(--max-width2) * var(--max-width));
  padding-top: calc(18 / var(--max-width2) * var(--max-width));
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  line-height: calc(20 / var(--max-width2) * var(--max-width));
  cursor: pointer;
  flex-wrap: wrap;
}
.kl_xz_list li.cur {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/side_check.png) no-repeat left top;
  background-size: auto 100%;
  font-family: "calabold";
}

.kl_xz_imgbox {
  width: calc(380 / var(--max-width2) * var(--max-width));
  height: calc(140 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/kl_xzbox.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(4 / var(--max-width2) * var(--max-width));
  top: 0;
  z-index: 0;
}
.kl_xz_imgbox img {
  display: block;
  width: calc(133 / var(--max-width2) * var(--max-width));
  height: calc(133 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  margin: calc(-66.5 / var(--max-width2) * var(--max-width)) 0 0 calc(-66.5 / var(--max-width2) * var(--max-width));
}
.kl_xz_imgbox img.spe {
  width: calc(154 / var(--max-width2) * var(--max-width));
  height: calc(150 / var(--max-width2) * var(--max-width));
  margin: 0 0 0 calc(-77 / var(--max-width2) * var(--max-width));
  top: unset;
  bottom: 0;
  animation: none;
}
.kl_xz_imgbox p {
  width: 100%;
  text-align: center;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #89a1c7;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}

@keyframes floating {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0, calc(4 / var(--max-width2) * var(--max-width)));
  }
  50% {
    transform: translate(0, 0);
  }
  75% {
    transform: translate(0, calc(-4 / var(--max-width2) * var(--max-width)));
  }
  100% {
    transform: translate(0, 0);
  }
}
.kl_ipbox {
  width: calc(445 / var(--max-width2) * var(--max-width));
  margin: calc(20 / var(--max-width2) * var(--max-width)) 0 0 calc(102 / var(--max-width2) * var(--max-width));
  display: flex;
  justify-content: space-between;
}
.kl_ipbox2 {
  margin: calc(14 / var(--max-width2) * var(--max-width)) 0 0 calc(102 / var(--max-width2) * var(--max-width));
}
.kl_ipbox input {
  display: block;
  width: calc(290 / var(--max-width2) * var(--max-width));
  height: calc(48 / var(--max-width2) * var(--max-width));
  background: #fff;
  outline: none;
  border: none;
  border-radius: calc(4 / var(--max-width2) * var(--max-width));
  text-indent: calc(14 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #292829;
  font-family: "cala";
}
.kl_ipbox input:placeholder {
  color: #7d8da6;
  font-family: "cala";
}

.kl_ipbox_btn {
  display: block;
  width: calc(140 / var(--max-width2) * var(--max-width));
  height: calc(48 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  line-height: calc(48 / var(--max-width2) * var(--max-width));
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #ffffff;
}
.fallback .kl_ipbox_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kv_rbtn_hov.png");
}
.webp .kl_ipbox_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kv_rbtn_hov.webp");
}

.kl_ipbox_p {
  width: calc(414 / var(--max-width2) * var(--max-width));
  margin: calc(6 / var(--max-width2) * var(--max-width)) 0 0 calc(118 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #7d8da6;
}

.kl_bz_show {
  width: calc(640 / var(--max-width2) * var(--max-width));
  height: calc(460 / var(--max-width2) * var(--max-width));
  position: absolute;
  right: calc(699 / var(--max-width2) * var(--max-width));
  top: 50%;
  transform: translate(0, -50%);
  z-index: 500;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/pf_show.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: none;
}
.kl_bz_show:after {
  content: "";
  width: calc(63 / var(--max-width2) * var(--max-width));
  height: calc(187 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/pf_showline.png) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  right: calc(-60 / var(--max-width2) * var(--max-width));
  top: calc(136 / var(--max-width2) * var(--max-width));
}
.kl_bz_show p {
  width: 100%;
  text-align: center;
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #89a1c7;
  line-height: calc(24 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  bottom: calc(-72 / var(--max-width2) * var(--max-width));
}

.dialogin {
  width: calc(440 / var(--max-width2) * var(--max-width));
  height: calc(350 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dialogin {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_login.png");
}
.webp .dialogin {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_login.webp");
}
.dialogin .dia_t {
  width: calc(312 / var(--max-width2) * var(--max-width));
}

.diasm {
  width: calc(572 / var(--max-width2) * var(--max-width));
  height: calc(452.4 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_login.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.diasm .dia_t {
  width: calc(312 / var(--max-width2) * var(--max-width));
}

.dia_loginbox {
  display: block;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: calc(62 / var(--max-width2) * var(--max-width)) auto 0;
}
.dia_loginbox a {
  display: block;
  width: calc(132 / var(--max-width2) * var(--max-width));
  height: calc(122 / var(--max-width2) * var(--max-width));
  margin: 0 calc(20 / var(--max-width2) * var(--max-width));
}
.dia_loginbox a.qqicon {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_loginbox a.qqicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/login_icon1.png");
}
.webp .dia_loginbox a.qqicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/login_icon1.webp");
}
.dia_loginbox a.wxicon {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_loginbox a.wxicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/login_icon2.png");
}
.webp .dia_loginbox a.wxicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/login_icon2.webp");
}
.dia_loginbox a:hover.qqicon {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_loginbox a:hover.qqicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/login_icon1_hov.png");
}
.webp .dia_loginbox a:hover.qqicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/login_icon1_hov.webp");
}
.dia_loginbox a:hover.wxicon {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_loginbox a:hover.wxicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/login_icon2_hov.png");
}
.webp .dia_loginbox a:hover.wxicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/login_icon2_hov.webp");
}

.diajq {
  width: calc(600 / var(--max-width2) * var(--max-width));
  height: calc(350 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-sizing: border-box;
  padding-right: calc(96 / var(--max-width2) * var(--max-width));
}
.fallback .diajq {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_bg4.png");
}
.webp .diajq {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_bg4.webp");
}
.diajq:after {
  content: "";
  width: calc(305 / var(--max-width2) * var(--max-width));
  height: calc(395 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(420 / var(--max-width2) * var(--max-width));
  bottom: 0;
  pointer-events: none;
}
.fallback .diajq:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_person.png");
}
.webp .diajq:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_person.webp");
}
.diajq .dia_t {
  width: calc(400 / var(--max-width2) * var(--max-width));
}
.diajq .d_close {
  right: calc(-97 / var(--max-width2) * var(--max-width));
}

.dia_jq_para {
  width: calc(400 / var(--max-width2) * var(--max-width));
  height: calc(108 / var(--max-width2) * var(--max-width));
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
  line-height: calc(36 / var(--max-width2) * var(--max-width));
  text-align: center;
  margin: calc(14 / var(--max-width2) * var(--max-width)) auto 0;
}
.dia_jq_para span {
  color: #924642;
}
.dia_jq_para.dia_jq_paras {
  margin: calc(96 / var(--max-width2) * var(--max-width)) auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dia_jqbtnbox {
  width: 100%;
  margin: 0 auto;
}
.dia_jqbtnbox2 {
  margin-top: calc(54 / var(--max-width2) * var(--max-width));
}
.dia_jqbtnbox a {
  display: block;
  width: calc(277 / var(--max-width2) * var(--max-width));
  height: calc(48 / var(--max-width2) * var(--max-width));
  margin: 0 auto;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-bottom: calc(23 / var(--max-width2) * var(--max-width));
  text-align: center;
  line-height: calc(48 / var(--max-width2) * var(--max-width));
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #392321;
}
.fallback .dia_jqbtnbox a {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/jq_btn.png");
}
.webp .dia_jqbtnbox a {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/jq_btn.webp");
}
.dia_jqbtnbox a:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #ffffff;
}
.fallback .dia_jqbtnbox a:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/jq_btnhov.png");
}
.webp .dia_jqbtnbox a:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/jq_btnhov.webp");
}
.dia_jqbtnbox a:hover .dia_kficon {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_kficon_hov.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.dia_copyicon {
  display: block;
  width: calc(290 / var(--max-width2) * var(--max-width));
  height: calc(102 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(68 / var(--max-width2) * var(--max-width)) auto 0;
}
.fallback .dia_copyicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_copylogo.png");
}
.webp .dia_copyicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_copylogo.webp");
}

.dia_copyline {
  display: block;
  width: calc(430 / var(--max-width2) * var(--max-width));
  height: 1px;
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_copyline.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(20 / var(--max-width2) * var(--max-width)) auto 0;
}

.dia_copypara {
  text-align: center;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
  line-height: calc(36 / var(--max-width2) * var(--max-width));
  color: #392321;
  margin: calc(10 / var(--max-width2) * var(--max-width)) auto;
}

.kl_bz {
  background: rgba(0, 0, 0, 0);
  display: none;
}
.kl_bz .kl_bz_in {
  right: calc(-644 / var(--max-width2) * var(--max-width));
}
.kl_bz .kl_bz_close {
  opacity: 0;
}
.kl_bz.show {
  display: block;
  animation: kl_bz 0.5s 1 linear both;
}
.kl_bz.show .kl_bz_in {
  animation: kl_bz_in 0.5s 0.3s 1 linear both;
}
.kl_bz.show .kl_bz_close {
  animation: opacityAni 0.5s 0.8s 1 linear both;
}
.kl_bz.hide {
  display: block;
  animation: kl_bz2 0.5s 0.5s linear alternate 1 both;
  pointer-events: none;
}
.kl_bz.hide .kl_bz_in {
  animation: kl_bz_in2 0.5s 1 linear alternate both;
}
.kl_bz.hide .kl_bz_close {
  animation: opacityAni2 0.5s 0.3s 1 linear alternate both;
}

#_overlay_.show {
  display: block !important;
  animation: kl_bz 0.5s 1 linear both;
}
#_overlay_.hide {
  display: block !important;
  animation: kl_bz2 0.5s 0.5s linear alternate 1 both;
  pointer-events: none;
}

.ganime.show {
  animation: diashow 0.5s 0.2s linear 1 both;
}
.ganime.show .d_close {
  animation: opacityAni 0.5s 0.3s 1 linear both;
}
.ganime.hide {
  animation: diahide 0.5s linear 1 both;
}
.ganime.hide .d_close {
  animation: opacityAni2 0.5s 0.3s 1 linear alternate both;
}

.diazy {
  width: calc(440 / var(--max-width2) * var(--max-width));
  height: calc(350 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .diazy {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_bg5.png");
}
.webp .diazy {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_bg5.webp");
}

.diazys {
  width: calc(440 / var(--max-width2) * var(--max-width));
  height: calc(350 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .diazys {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_bg6.png");
}
.webp .diazys {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_bg6.webp");
}

.dia_tzy_para {
  margin: calc(58 / var(--max-width2) * var(--max-width)) auto 0;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #392321;
  line-height: calc(36 / var(--max-width2) * var(--max-width));
  text-align: center;
}
.dia_tzy_para span {
  color: #924642;
}

.dia_sharejs .dia_sharename {
  color: #fff8c9;
}
.dia_sharejs .dia_sharech {
  font-size: calc(48 / var(--max-width2) * var(--max-width));
  font-weight: 200;
  color: #fffbd9;
}
.dia_sharejs .dia_share_p3 {
  color: #ffffff;
}
.dia_sharejs .dia_share_p4 {
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #fff8c9;
}
.dia_sharejs .dia_share_codepara {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/share_codepbg2.png) no-repeat;
  background-size: 100% 100%;
  color: #e4dfbe;
}
.dia_sharejs .dia_share_codepara span {
  font-weight: 200;
}
.dia_sharejs .certificateBox_share_img {
  opacity: 1;
}

.dia_share_bj {
  width: 100%;
  text-align: center;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  position: absolute;
  left: 0;
  top: calc(368 / var(--max-width2) * var(--max-width));
  box-sizing: border-box;
  padding-left: calc(12 / var(--max-width2) * var(--max-width));
}
.dia_share_bj span {
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #fff8c9;
}

.dia_share_jplist {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  top: calc(395 / var(--max-width2) * var(--max-width));
}
.dia_share_jplist li {
  width: calc(105 / var(--max-width2) * var(--max-width));
  height: calc(101 / var(--max-width2) * var(--max-width));
  position: relative;
}
.dia_share_jplist li img {
  display: block;
  width: 100%;
  height: 100%;
}
.dia_share_jplist li:after {
  content: "";
  width: 1px;
  height: calc(40 / var(--max-width2) * var(--max-width));
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/djs_line.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.dia_share_jplist li:last-child:after {
  display: none;
}

.dia_cicon {
  display: block;
  width: calc(88 / var(--max-width2) * var(--max-width));
  height: calc(88 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(76 / var(--max-width2) * var(--max-width)) auto 0;
}
.fallback .dia_cicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/d_cicon1.png");
}
.webp .dia_cicon {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/d_cicon1.webp");
}
.dia_cicon.dia_cicon1 {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/d_cicon2.png) no-repeat;
  background-size: 100% 100%;
}

.dia_dtips {
  display: block;
  width: 80%;
  margin: 0 auto 0;
  text-align: center;
  height: calc(100 / var(--max-width2) * var(--max-width));
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #392321;
  font-family: "u65b9u6b63u5170u4eadu9ed1";
  font-weight: normal;
  line-height: calc(32 / var(--max-width2) * var(--max-width));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dia_kficon {
  display: inline-block;
  vertical-align: top;
  width: calc(29 / var(--max-width2) * var(--max-width));
  height: calc(32 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/dia_kficon.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: calc(9 / var(--max-width2) * var(--max-width)) calc(12 / var(--max-width2) * var(--max-width)) 0 0;
}

.ms_box {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.7);
  animation: kl_ms 2.5s 0.5s linear 1 both;
}
.ms_box canvas,
.ms_box img {
  display: block;
  width: calc(600 / var(--max-width2) * var(--max-width));
  height: calc(600 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  margin: calc(-300 / var(--max-width2) * var(--max-width)) 0 0 calc(-300 / var(--max-width2) * var(--max-width));
  z-index: 50;
  animation: kl_ms_icon 2s 0.5s linear 1 both;
}

.ms_icon {
  display: block;
  width: calc(505 / var(--max-width2) * var(--max-width));
  height: calc(395 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/ms_icon.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: calc(-197.5 / var(--max-width2) * var(--max-width)) 0 0 calc(-252.5 / var(--max-width2) * var(--max-width));
  z-index: 50;
  animation: kl_ms_icon 2s 1s linear 1 both;
}
.ms_icon.jytx_icon {
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/jytx_icon.png) no-repeat;
  background-size: 100% 100%;
}

.dia_smlist {
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 calc(20 / var(--max-width2) * var(--max-width));
  margin: calc(60 / var(--max-width2) * var(--max-width)) auto 0;
}
.dia_smlist li {
  width: calc(120 / var(--max-width2) * var(--max-width));
  height: calc(120 / var(--max-width2) * var(--max-width));
  margin: 0 calc(6 / var(--max-width2) * var(--max-width));
  box-sizing: border-box;
  padding: calc(6 / var(--max-width2) * var(--max-width));
  text-align: center;
}
.dia_smlist li img {
  display: block;
  width: 100%;
  height: 100%;
}
.dia_smlist li p {
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #897a6e;
  margin: calc(12 / var(--max-width2) * var(--max-width)) auto 0;
}

@keyframes kl_ms {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  33.33% {
    background: rgba(0, 0, 0, 0.7);
  }
  66.66% {
    background: rgba(0, 0, 0, 0.7);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
}
@keyframes kl_ms_icon {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes kl_bz {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  100% {
    background: rgba(0, 0, 0, 0.7);
  }
}
@keyframes diashow {
  0% {
    transform: translate(0, 50px);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes diahide {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(0, 50px);
    opacity: 0;
  }
}
@keyframes kl_bz_in {
  0% {
    right: calc(-644 / var(--max-width2) * var(--max-width));
  }
  100% {
    right: 0;
  }
}
@keyframes opacityAni {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes kl_bz2 {
  0% {
    background: rgba(0, 0, 0, 0.7);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
}
@keyframes kl_bz_in2 {
  0% {
    right: 0;
  }
  100% {
    right: calc(-644 / var(--max-width2) * var(--max-width));
  }
}
@keyframes opacityAni2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.afooter_wrap {
  width: 100%;
  min-width: 1440px;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 300;
  display: none;
}

#gfooter {
  width: 100%;
  min-width: 1440px;
}

.foot_zdbtn {
  display: block;
  width: calc(61 / var(--max-width2) * var(--max-width));
  height: calc(17 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(28 / var(--max-width2) * var(--max-width));
  top: calc(28 / var(--max-width2) * var(--max-width));
  z-index: 30;
  text-indent: -9999px;
  opacity: 0.7;
}
.fallback .foot_zdbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/fot_zd.png");
}
.webp .foot_zdbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/fot_zd.webp");
}
.foot_zdbtn:hover {
  opacity: 1;
}

.foot_zkbtn {
  display: block;
  width: calc(135 / var(--max-width2) * var(--max-width));
  height: calc(18 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  right: calc(28 / var(--max-width2) * var(--max-width));
  bottom: calc(28 / var(--max-width2) * var(--max-width));
  z-index: 30;
  text-indent: -9999px;
  opacity: 0.7;
}
.fallback .foot_zkbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/fot_zk.png");
}
.webp .foot_zkbtn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/fot_zk.webp");
}
.foot_zkbtn:hover {
  opacity: 1;
}

.foot_dark {
  background: #222222 !important;
}

.foot_cpright {
  width: calc(1400 / var(--max-width2) * var(--max-width));
  margin: 0 auto;
  padding: calc(30 / var(--max-width2) * var(--max-width)) 0 calc(30 / var(--max-width2) * var(--max-width)) !important;
}

.foot_cpright .foot_lefts {
  width: calc(430 / var(--max-width2) * var(--max-width));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  margin-top: calc(32 / var(--max-width2) * var(--max-width));
}

.foot_cpright .foot_lefts:after {
  content: "";
  width: 0;
  height: calc(66 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 58%;
  top: 50%;
  border-left: #3b3e44 solid 2px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.foot_cpright .foot_left {
  width: calc(228 / var(--max-width2) * var(--max-width));
  height: calc(79 / var(--max-width2) * var(--max-width));
  margin: 0;
}

.foot_cpright .foot_left.logo1 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .foot_cpright .foot_left.logo1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/fot_logo1.png");
}
.webp .foot_cpright .foot_left.logo1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/fot_logo1.webp");
}

.foot_cpright .foot_left.logo2 {
  width: calc(150 / var(--max-width2) * var(--max-width));
  height: calc(35 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/fot_logo2.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.foot_cpright .foot_links {
  width: calc(900 / var(--max-width2) * var(--max-width));
}

.foot_cpright .link_map {
  width: 100%;
  padding-bottom: calc(24 / var(--max-width2) * var(--max-width));
  border-bottom: #3b3e44 solid 1px;
}

.foot_cpright .link_map a {
  font-size: calc(14 / var(--max-width2) * var(--max-width)) !important;
  color: #ffffff !important;
  margin: 0 calc(4 / var(--max-width2) * var(--max-width));
}

.foot_cpright .copyright_en {
  margin-top: calc(20 / var(--max-width2) * var(--max-width));
  position: relative;
  overflow: inherit;
}

.foot_cpright .copyright_en:before {
  content: "";
  width: calc(50 / var(--max-width2) * var(--max-width));
  height: calc(64 / var(--max-width2) * var(--max-width));
  background: url(//game.gtimg.cn/images/kq/cp/klbqS2Activities/sltx.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
}

.foot_cpright .copyright_en,
.foot_cpright .copyright_public a,
.foot_cpright .copyright_txt {
  font-size: calc(14 / var(--max-width2) * var(--max-width)) !important;
  line-height: calc(24 / var(--max-width2) * var(--max-width)) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.foot_cpright .copyright_en,
.foot_cpright .copyright_public {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: calc(67 / var(--max-width2) * var(--max-width));
}

.tips {
  background: #000;
  padding: calc(6 / var(--max-width2) * var(--max-width)) calc(20 / var(--max-width2) * var(--max-width));
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  animation: showTips 2s linear 1 both;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #fff;
  border-radius: calc(4 / var(--max-width2) * var(--max-width));
}

@keyframes showTips {
  0% {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  33.33% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  66.66% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
}
.wt_box {
  width: 100%;
  height: calc(1080 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  overflow: hidden;
  background: #000;
}

.wt_jq1 {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 50;
}

.wt_jq_bg1 {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: calc(1920 / var(--max-width2) * var(--max-width));
  height: calc(1080 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  transform: translate(-50%, -50%);
  filter: grayscale(1) saturate(0%);
}
.fallback .wt_jq_bg1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_bg1.jpg");
}
.webp .wt_jq_bg1 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_bg1.webp");
}
.wt_jq_bg1.show {
  animation: bg-graytolight 3s linear 1 both;
}
.wt_jq_bg1.wtbg2 {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: unset;
}
.fallback .wt_jq_bg1.wtbg2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_bg2.jpg");
}
.webp .wt_jq_bg1.wtbg2 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_bg2.webp");
}
.wt_jq_bg1.wtbg2.show .wt_dark {
  opacity: 1;
}
.wt_jq_bg1.wtbg2.show .wt_dark.show {
  animation: bg-show 1s 1 both;
}
.wt_jq_bg1.wtbg2.show .wt_dark.show2 {
  opacity: 0;
  animation: bg-show3 1s 1 both;
}
.wt_jq_bg1.wtbg2.show .wt_dark.show3 {
  opacity: 0.6;
  animation: bg-show7 1s 1 both;
}
.wt_jq_bg1.wtbg3 {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: unset;
}
.fallback .wt_jq_bg1.wtbg3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_bg3.jpg");
}
.webp .wt_jq_bg1.wtbg3 {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_bg3.webp");
}
.wt_jq_bg1.wtbg3 .wt_dark.show3 {
  opacity: 0.6;
  animation: bg-show7 1s 1 both;
}
.wt_jq_bg1.wtbg3.show2 {
  background-position: 50% 50%;
  background-size: 300% 300%;
  animation: bg-scale 4s 1 both;
}
.wt_jq_bg1.wtbg3.show2 .wt_dark {
  opacity: 1;
}
.wt_jq_bg1.wtbg3.show2 .wt_dark.show {
  animation: bg-show 4s 1 both;
}

@keyframes bg-scale {
  0% {
    background-size: 300% 300%;
  }
  100% {
    background-size: 100% 100%;
  }
}
.wt_jq_mask {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
}
.fallback .wt_jq_mask {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_bg1_mask.png");
}
.webp .wt_jq_mask {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_bg1_mask.webp");
}

.wt_pbox {
  width: 100%;
  height: calc(280 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
}
.wt_pbox:before {
  content: "";
  width: calc(1595 / var(--max-width2) * var(--max-width));
  height: calc(21 / var(--max-width2) * var(--max-width));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  top: calc(76 / var(--max-width2) * var(--max-width));
  transform: translate(-50%, 0);
}
.fallback .wt_pbox:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_pline.png");
}
.webp .wt_pbox:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_pline.webp");
}
.wt_pbox:after {
  content: "";
  width: calc(34 / var(--max-width2) * var(--max-width));
  height: calc(32 / var(--max-width2) * var(--max-width));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 50%;
  bottom: calc(18 / var(--max-width2) * var(--max-width));
  transform: translate(-50%, 0);
}
.fallback .wt_pbox:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_pjt.png");
}
.webp .wt_pbox:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_pjt.webp");
}

.wt_para {
  position: absolute;
  left: 50%;
  top: calc(118 / var(--max-width2) * var(--max-width));
  transform: translate(-50%, 0);
  transition: all 0.5s;
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-family: "cala";
  text-align: center;
}
.wt_para span {
  position: relative;
}
.wt_para i, .wt_para strong {
  font-weight: normal;
  font-style: normal;
}
.wt_para i {
  opacity: 0;
}
.wt_para strong {
  position: absolute;
  left: 0;
  top: 0;
}

.wt_name {
  width: 100%;
  text-align: center;
  position: absolute;
  left: 0;
  top: calc(18 / var(--max-width2) * var(--max-width));
  font-size: calc(36 / var(--max-width2) * var(--max-width));
  color: #f8e7a5;
  font-family: "SourceHanSerifCN-Bold";
}

.wt_jq_man {
  width: calc(1199 / var(--max-width2) * var(--max-width));
  height: calc(1080 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 30;
  margin-left: calc(-599.5 / var(--max-width2) * var(--max-width));
  opacity: 0;
}
.fallback .wt_jq_man {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/man_img.png");
}
.webp .wt_jq_man {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/man_img.webp");
}
.wt_jq_man:after {
  content: "";
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.fallback .wt_jq_man:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/man_imgmask.png");
}
.webp .wt_jq_man:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/man_imgmask.webp");
}
.wt_jq_man.show {
  animation: man-show 1s 1 both;
}
.wt_jq_man.show2 {
  animation: man-show 1s 1 both;
  z-index: 70;
}
.wt_jq_man.show2:after {
  animation: bg-show 1s 1 both;
}
.wt_jq_man.show2.show3:after {
  opacity: 0;
  animation: bg-show3 1s 1 both;
}
.wt_jq_man.show2.show4:after {
  opacity: 0.6;
  animation: bg-show4 1s 1 both;
}
.wt_jq_man.show5 {
  opacity: 1;
  transform: scale(1);
  transform-origin: 50% calc(50 / var(--max-width2) * var(--max-width));
  animation: bg-show5 1s 1 both;
}
.wt_jq_man.show6 {
  opacity: 1;
  transform: scale(1.2);
  transform-origin: 50% calc(50 / var(--max-width2) * var(--max-width));
  animation: bg-show6 1s 1 both;
}
.wt_jq_man.show7 {
  opacity: 1;
  transform: scale(1.36);
  transform-origin: 50% calc(50 / var(--max-width2) * var(--max-width));
  animation: bg-show 1s 1 both;
}

.wt_dark {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 50;
  background: #000;
  opacity: 0;
}
.wt_dark.show {
  animation: man-show 1s 1 both;
}

@keyframes man-show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes bg-show {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes bg-show2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
@keyframes bg-show3 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.6;
  }
}
@keyframes bg-show4 {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}
@keyframes bg-show5 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}
@keyframes bg-show6 {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.36);
  }
}
@keyframes bg-show7 {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes bg-graytolight {
  0% {
    filter: grayscale(1) saturate(0%);
  }
  100% {
    filter: grayscale(0) saturate(100%);
  }
}
.wt_topbtnbx {
  position: absolute;
  right: calc(20 / var(--max-width2) * var(--max-width));
  top: calc(20 / var(--max-width2) * var(--max-width));
  display: flex;
  z-index: 100;
}
.wt_topbtnbx a {
  display: block;
  width: calc(140 / var(--max-width2) * var(--max-width));
  height: calc(48 / var(--max-width2) * var(--max-width));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  font-family: "cala";
  margin: 0 calc(10 / var(--max-width2) * var(--max-width));
}
.fallback .wt_topbtnbx a {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_btn.png");
}
.webp .wt_topbtnbx a {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_btn.webp");
}
.wt_topbtnbx a:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .wt_topbtnbx a:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_btn_hov.png");
}
.webp .wt_topbtnbx a:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_btn_hov.webp");
}
.wt_topbtnbx a.wt_hg:after {
  content: "";
  width: calc(16 / var(--max-width2) * var(--max-width));
  height: calc(20 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: block;
  margin-left: calc(8 / var(--max-width2) * var(--max-width));
}
.fallback .wt_topbtnbx a.wt_hg:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/hgicon.png");
}
.webp .wt_topbtnbx a.wt_hg:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/hgicon.webp");
}
.wt_topbtnbx a.wt_zd:after {
  content: "";
  width: calc(18 / var(--max-width2) * var(--max-width));
  height: calc(18 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: block;
  margin-left: calc(8 / var(--max-width2) * var(--max-width));
}
.fallback .wt_topbtnbx a.wt_zd:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/zdicon.png");
}
.webp .wt_topbtnbx a.wt_zd:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/zdicon.webp");
}
.wt_topbtnbx a.wt_tg:after {
  content: "";
  width: calc(11 / var(--max-width2) * var(--max-width));
  height: calc(16 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: block;
  margin-left: calc(8 / var(--max-width2) * var(--max-width));
}
.fallback .wt_topbtnbx a.wt_tg:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/tgicon.png");
}
.webp .wt_topbtnbx a.wt_tg:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/tgicon.webp");
}

.wt_hg_det {
  width: calc(1920 / var(--max-width2) * var(--max-width));
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 300;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  display: none;
}
.fallback .wt_hg_det {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/hg_bgmsk.png");
}
.webp .wt_hg_det {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/hg_bgmsk.webp");
}
.wt_hg_det.showAnimate {
  display: block;
  opacity: 0;
  animation: man-show 1s 1 both;
}
.wt_hg_det.hideAnimate {
  opacity: 1;
  animation: bg-show 1s 1 both;
}

.wt_hg_t {
  display: block;
  width: calc(245 / var(--max-width2) * var(--max-width));
  height: calc(95 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(133 / var(--max-width2) * var(--max-width));
  top: calc(144 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-indent: -9999px;
}
.fallback .wt_hg_t {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/wt_jqt.png");
}
.webp .wt_hg_t {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/wt_jqt.webp");
}

.wt_hg_wp {
  width: calc(1215 / var(--max-width2) * var(--max-width));
  height: calc(820 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(426 / var(--max-width2) * var(--max-width));
  top: calc(144 / var(--max-width2) * var(--max-width));
}
.wt_hg_wp::before {
  content: "";
  width: 100%;
  height: calc(15 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 0;
}
.fallback .wt_hg_wp::before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/hg_line.png");
}
.webp .wt_hg_wp::before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/hg_line.webp");
}

.wt_hg_list {
  width: calc(1135 / var(--max-width2) * var(--max-width));
  height: calc(747 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 0;
  top: calc(44 / var(--max-width2) * var(--max-width));
  overflow: hidden;
  font-family: "cala";
}
.wt_hg_list p {
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #fefefe;
  line-height: calc(36 / var(--max-width2) * var(--max-width));
  box-sizing: border-box;
  padding-left: calc(135 / var(--max-width2) * var(--max-width));
  margin-bottom: calc(36 / var(--max-width2) * var(--max-width));
}
.wt_hg_list strong {
  display: inline-block;
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #f8e7a5;
  font-family: "SourceHanSerifCN-Bold";
  margin-left: calc(-126 / var(--max-width2) * var(--max-width));
  width: calc(126 / var(--max-width2) * var(--max-width));
}

.wt_hg_scroll {
  width: calc(5 / var(--max-width2) * var(--max-width));
  height: calc(737 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(1175 / var(--max-width2) * var(--max-width));
  top: calc(50 / var(--max-width2) * var(--max-width));
  background: rgba(226, 223, 211, 0.2);
}
.wt_hg_scroll .swiper-scrollbar-drag {
  background: #f8e7a5;
  cursor: pointer;
}

.hg_close {
  display: block;
  width: calc(27 / var(--max-width2) * var(--max-width));
  height: calc(27 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(1636 / var(--max-width2) * var(--max-width));
  top: calc(196 / var(--max-width2) * var(--max-width));
}
.fallback .hg_close {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/hg_close.png");
}
.webp .hg_close {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/hg_close.webp");
}

.dia_ch {
  width: calc(360 / var(--max-width2) * var(--max-width));
  box-sizing: border-box;
  padding-top: calc(100 / var(--max-width2) * var(--max-width));
  float: left;
}
.dia_ch2 {
  padding-top: calc(80 / var(--max-width2) * var(--max-width));
}

.dia_ch_box {
  width: calc(280 / var(--max-width2) * var(--max-width));
  height: calc(212 / var(--max-width2) * var(--max-width));
  position: relative;
  margin: 0 0 calc(40 / var(--max-width2) * var(--max-width)) calc(50 / var(--max-width2) * var(--max-width));
}

.dia_ch_desnum {
  width: calc(186 / var(--max-width2) * var(--max-width));
  height: calc(20 / var(--max-width2) * var(--max-width));
  line-height: calc(20 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #fff8e6;
  background: linear-gradient(to right, rgba(59, 52, 8, 0.5), rgba(59, 52, 8, 0));
  box-sizing: border-box;
  padding-left: calc(4 / var(--max-width2) * var(--max-width));
  margin-top: calc(12 / var(--max-width2) * var(--max-width));
}

.dia_ch_name {
  display: block;
  font-family: "SourceHanSerifCN-Bold";
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #fff8e7;
  font-weight: normal;
  position: relative;
}
.dia_ch_name:before {
  content: "";
  width: calc(34 / var(--max-width2) * var(--max-width));
  height: calc(35 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(-34 / var(--max-width2) * var(--max-width));
  top: 50%;
  transform: translate(0, -50%);
}
.fallback .dia_ch_name:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kp_icon2.png");
}
.webp .dia_ch_name:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kp_icon2.webp");
}

.dia_ch_des {
  width: calc(144 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #fff8e6;
  line-height: calc(24 / var(--max-width2) * var(--max-width));
  font-family: "cala";
  margin-top: calc(6 / var(--max-width2) * var(--max-width));
}

.dia_ch_btn {
  display: block;
  width: calc(277 / var(--max-width2) * var(--max-width));
  height: calc(40 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #ffffff;
}
.fallback .dia_ch_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cp_btn.png");
}
.webp .dia_ch_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cp_btn.webp");
}
.dia_ch_btn:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #392321;
}
.fallback .dia_ch_btn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cp_btn_hov.png");
}
.webp .dia_ch_btn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cp_btn_hov.webp");
}
.dia_ch_btn.grey {
  pointer-events: none;
  opacity: 0.6;
}
.dia_ch_btn.light {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #ca9d98;
  pointer-events: none;
}
.fallback .dia_ch_btn.light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cp_btn_grey.png");
}
.webp .dia_ch_btn.light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cp_btn_grey.webp");
}
.dia_ch_btn.light:before {
  content: "";
  width: calc(24 / var(--max-width2) * var(--max-width));
  height: calc(14 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-right: calc(4 / var(--max-width2) * var(--max-width));
}
.fallback .dia_ch_btn.light:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/dia_testbtn_check.png");
}
.webp .dia_ch_btn.light:before {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/dia_testbtn_check.webp");
}

.dia_ch_img {
  width: calc(120 / var(--max-width2) * var(--max-width));
  height: calc(171 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: calc(158 / var(--max-width2) * var(--max-width));
  top: calc(-6 / var(--max-width2) * var(--max-width));
}
.fallback .dia_ch_img {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/ch_box.png");
}
.webp .dia_ch_img {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/ch_box.webp");
}
.dia_ch_img.light .dia_ch_imgin {
  pointer-events: inherit;
}
.dia_ch_img.light .dia_ch_imgin img {
  opacity: 1;
}
.dia_ch_img.light .dia_ch_imgin:after {
  display: none;
}

.dia_ch_imgin {
  width: calc(70 / var(--max-width2) * var(--max-width));
  height: calc(106 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(25 / var(--max-width2) * var(--max-width));
  top: calc(44 / var(--max-width2) * var(--max-width));
  pointer-events: none;
}
.dia_ch_imgin img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
.dia_ch_imgin:after {
  content: "";
  width: calc(29 / var(--max-width2) * var(--max-width));
  height: calc(34 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.fallback .dia_ch_imgin:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/kp_lock.png");
}
.webp .dia_ch_imgin:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/kp_lock.webp");
}

.dia_ch_right {
  width: calc(592 / var(--max-width2) * var(--max-width));
  height: calc(594 / var(--max-width2) * var(--max-width));
  float: left;
  position: relative;
}

.dia_ch_t {
  display: block;
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #392321;
  font-family: "SourceHanSerifCN-Bold";
}

.dia_ch_list {
  width: calc(476 / var(--max-width2) * var(--max-width));
  margin: calc(28 / var(--max-width2) * var(--max-width)) 0 0 calc(62 / var(--max-width2) * var(--max-width));
}
.dia_ch_list li {
  height: calc(178 / var(--max-width2) * var(--max-width));
  position: relative;
  margin-bottom: calc(30 / var(--max-width2) * var(--max-width));
}
.dia_ch_list li:after {
  content: "";
  width: calc(482 / var(--max-width2) * var(--max-width));
  height: 1px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  bottom: 0;
}
.fallback .dia_ch_list li:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cp_line.png");
}
.webp .dia_ch_list li:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cp_line.webp");
}
.dia_ch_list li:last-child:after {
  display: none;
}

.dia_giftbox {
  width: 100%;
  display: flex;
  align-items: center;
}

.dia_chlist_name {
  width: calc(280 / var(--max-width2) * var(--max-width));
  font-size: calc(24 / var(--max-width2) * var(--max-width));
  color: #392321;
  font-family: "SourceHanSerifCN-Bold";
  margin-left: calc(20 / var(--max-width2) * var(--max-width));
}

.dia_gift_para {
  width: calc(474 / var(--max-width2) * var(--max-width));
  height: calc(81 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #392321;
  box-sizing: border-box;
  padding-top: calc(16 / var(--max-width2) * var(--max-width));
  margin-top: calc(8 / var(--max-width2) * var(--max-width));
}
.fallback .dia_gift_para {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cp_pbg.png");
}
.webp .dia_gift_para {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cp_pbg.webp");
}

.dia_cg_box {
  width: calc(315 / var(--max-width2) * var(--max-width));
  height: calc(154 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 0 0 0 calc(22 / var(--max-width2) * var(--max-width));
  position: relative;
}
.fallback .dia_cg_box {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_imgox.png");
}
.webp .dia_cg_box {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_imgox.webp");
}

.dia_cg_imgin {
  width: calc(277 / var(--max-width2) * var(--max-width));
  height: calc(151 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(19 / var(--max-width2) * var(--max-width));
  bottom: calc(14 / var(--max-width2) * var(--max-width));
  overflow: hidden;
}
.dia_cg_imgin img {
  display: block;
  width: calc(75 / var(--max-width2) * var(--max-width));
  height: calc(75 / var(--max-width2) * var(--max-width));
  object-fit: contain;
}
.dia_cg_imgin .swiper-wrapper {
  width: 10000%;
  display: flex;
}
.dia_cg_imgin li {
  width: calc(277 / var(--max-width2) * var(--max-width));
  height: calc(151 / var(--max-width2) * var(--max-width));
  position: relative;
  display: flex;
  justify-content: center;
  align-items: end;
  box-sizing: border-box;
  padding-bottom: calc(30 / var(--max-width2) * var(--max-width));
}

.cgprevw {
  height: calc(140 / var(--max-width2) * var(--max-width));
  width: calc(134 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  bottom: calc(-10 / var(--max-width2) * var(--max-width));
  margin-left: calc(-70 / var(--max-width2) * var(--max-width));
}
.cgprevw img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.cgprevw img.role1 {
  z-index: 0;
}
.cgprevw img.role2 {
  z-index: 5;
}
.cgprevw img.role3 {
  z-index: 10;
}
.cgprevw img.role4 {
  z-index: 15;
}
.cgprevw img.role5 {
  z-index: 20;
}
.cgprevw .dia_newicon,
.cgprevw .prev_newicon {
  display: block;
}

.dia_cg_empty {
  width: calc(277 / var(--max-width2) * var(--max-width));
  height: calc(151 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(19 / var(--max-width2) * var(--max-width));
  bottom: calc(14 / var(--max-width2) * var(--max-width));
  overflow: hidden;
  font-size: calc(18 / var(--max-width2) * var(--max-width));
  color: #dcaaa4;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: calc(30 / var(--max-width2) * var(--max-width)) 0 0 0;
}

.dia_cg_prg {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: calc(12 / var(--max-width2) * var(--max-width));
  z-index: 30;
  display: flex;
  justify-content: center;
}
.dia_cg_prg span {
  width: calc(7 / var(--max-width2) * var(--max-width));
  height: calc(7 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 0 calc(4 / var(--max-width2) * var(--max-width));
}
.fallback .dia_cg_prg span {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/prg_icon.png");
}
.webp .dia_cg_prg span {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/prg_icon.webp");
}
.dia_cg_prg span.swiper-pagination-bullet-active {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_cg_prg span.swiper-pagination-bullet-active {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/prg_iconcur.png");
}
.webp .dia_cg_prg span.swiper-pagination-bullet-active {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/prg_iconcur.webp");
}

.dia_cg_ipt {
  width: calc(278 / var(--max-width2) * var(--max-width));
  height: calc(42 / var(--max-width2) * var(--max-width));
  margin: calc(22 / var(--max-width2) * var(--max-width)) auto 0;
}
.dia_cg_ipt input {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  background: none;
  background: #fff;
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #392321;
  box-sizing: border-box;
  padding: 0 calc(20 / var(--max-width2) * var(--max-width));
  font-family: "cala";
}
.dia_cg_ipt input::placeholder {
  color: #a6967d;
  font-family: "cala";
}

.dia_cg_p {
  width: calc(278 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #dcaaa4;
  line-height: calc(22 / var(--max-width2) * var(--max-width));
  margin: calc(8 / var(--max-width2) * var(--max-width)) auto 0;
}

.dia_cgcp_btn {
  position: relative;
  left: 0;
  bottom: 0;
  margin: calc(4 / var(--max-width2) * var(--max-width)) auto 0;
}

.kp_libox {
  width: calc(560 / var(--max-width2) * var(--max-width));
  height: calc(380 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(20 / var(--max-width2) * var(--max-width));
  top: calc(126 / var(--max-width2) * var(--max-width));
  z-index: 30;
}

.kp_lilist li {
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  filter: drop-shadow(rgba(0, 0, 0, 0.5) calc(4 / var(--max-width2) * var(--max-width)) calc(4 / var(--max-width2) * var(--max-width)) 0);
}
.kp_lilist li img {
  display: block;
  width: calc(85 / var(--max-width2) * var(--max-width));
  height: calc(75 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
}
.kp_lilist li p {
  width: calc(180 / var(--max-width2) * var(--max-width));
  height: calc(39 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-sizing: border-box;
  padding-bottom: calc(7 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: 50%;
  top: calc(-40 / var(--max-width2) * var(--max-width));
  font-size: calc(16 / var(--max-width2) * var(--max-width));
  color: #ffffff;
  margin-left: calc(-90 / var(--max-width2) * var(--max-width));
  display: none;
  align-items: center;
  justify-content: center;
}
.fallback .kp_lilist li p {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/spe_tips.png");
}
.webp .kp_lilist li p {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/spe_tips.webp");
}
.kp_lilist li:nth-child(1) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(1) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box1.png");
}
.webp .kp_lilist li:nth-child(1) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box1.webp");
}
.kp_lilist li:nth-child(1):hover, .kp_lilist li:nth-child(1).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(1):hover, .fallback .kp_lilist li:nth-child(1).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box1_hov.png");
}
.webp .kp_lilist li:nth-child(1):hover, .webp .kp_lilist li:nth-child(1).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box1_hov.webp");
}
.kp_lilist li:nth-child(1):hover p, .kp_lilist li:nth-child(1).light p {
  color: #fff;
}
.kp_lilist li:nth-child(2) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(2) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box2.png");
}
.webp .kp_lilist li:nth-child(2) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box2.webp");
}
.kp_lilist li:nth-child(2):hover, .kp_lilist li:nth-child(2).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(2):hover, .fallback .kp_lilist li:nth-child(2).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box2_hov.png");
}
.webp .kp_lilist li:nth-child(2):hover, .webp .kp_lilist li:nth-child(2).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box2_hov.webp");
}
.kp_lilist li:nth-child(2):hover p, .kp_lilist li:nth-child(2).light p {
  color: #fff;
}
.kp_lilist li:nth-child(3) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(3) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box3.png");
}
.webp .kp_lilist li:nth-child(3) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box3.webp");
}
.kp_lilist li:nth-child(3):hover, .kp_lilist li:nth-child(3).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(3):hover, .fallback .kp_lilist li:nth-child(3).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box3_hov.png");
}
.webp .kp_lilist li:nth-child(3):hover, .webp .kp_lilist li:nth-child(3).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box3_hov.webp");
}
.kp_lilist li:nth-child(3):hover p, .kp_lilist li:nth-child(3).light p {
  color: #fff;
}
.kp_lilist li:nth-child(4) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(4) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box4.png");
}
.webp .kp_lilist li:nth-child(4) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box4.webp");
}
.kp_lilist li:nth-child(4):hover, .kp_lilist li:nth-child(4).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(4):hover, .fallback .kp_lilist li:nth-child(4).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box4_hov.png");
}
.webp .kp_lilist li:nth-child(4):hover, .webp .kp_lilist li:nth-child(4).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box4_hov.webp");
}
.kp_lilist li:nth-child(4):hover p, .kp_lilist li:nth-child(4).light p {
  color: #fff;
}
.kp_lilist li:nth-child(5) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(5) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box5.png");
}
.webp .kp_lilist li:nth-child(5) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box5.webp");
}
.kp_lilist li:nth-child(5):hover, .kp_lilist li:nth-child(5).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(5):hover, .fallback .kp_lilist li:nth-child(5).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box5_hov.png");
}
.webp .kp_lilist li:nth-child(5):hover, .webp .kp_lilist li:nth-child(5).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box5_hov.webp");
}
.kp_lilist li:nth-child(5):hover p, .kp_lilist li:nth-child(5).light p {
  color: #fff;
}
.kp_lilist li:nth-child(6) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(6) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box6.png");
}
.webp .kp_lilist li:nth-child(6) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box6.webp");
}
.kp_lilist li:nth-child(6):hover, .kp_lilist li:nth-child(6).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(6):hover, .fallback .kp_lilist li:nth-child(6).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box6_hov.png");
}
.webp .kp_lilist li:nth-child(6):hover, .webp .kp_lilist li:nth-child(6).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box6_hov.webp");
}
.kp_lilist li:nth-child(6):hover p, .kp_lilist li:nth-child(6).light p {
  color: #fff;
}
.kp_lilist li:nth-child(7) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(7) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box7.png");
}
.webp .kp_lilist li:nth-child(7) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box7.webp");
}
.kp_lilist li:nth-child(7):hover, .kp_lilist li:nth-child(7).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(7):hover, .fallback .kp_lilist li:nth-child(7).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box7_hov.png");
}
.webp .kp_lilist li:nth-child(7):hover, .webp .kp_lilist li:nth-child(7).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box7_hov.webp");
}
.kp_lilist li:nth-child(7):hover p, .kp_lilist li:nth-child(7).light p {
  color: #fff;
}
.kp_lilist li:nth-child(8) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(8) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box8.png");
}
.webp .kp_lilist li:nth-child(8) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box8.webp");
}
.kp_lilist li:nth-child(8):hover, .kp_lilist li:nth-child(8).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(8):hover, .fallback .kp_lilist li:nth-child(8).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box8_hov.png");
}
.webp .kp_lilist li:nth-child(8):hover, .webp .kp_lilist li:nth-child(8).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box8_hov.webp");
}
.kp_lilist li:nth-child(8):hover p, .kp_lilist li:nth-child(8).light p {
  color: #fff;
}
.kp_lilist li:nth-child(9) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(9) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box9.png");
}
.webp .kp_lilist li:nth-child(9) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box9.webp");
}
.kp_lilist li:nth-child(9):hover, .kp_lilist li:nth-child(9).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(9):hover, .fallback .kp_lilist li:nth-child(9).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box9_hov.png");
}
.webp .kp_lilist li:nth-child(9):hover, .webp .kp_lilist li:nth-child(9).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box9_hov.webp");
}
.kp_lilist li:nth-child(9):hover p, .kp_lilist li:nth-child(9).light p {
  color: #fff;
}
.kp_lilist li:nth-child(10) {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(10) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box10.png");
}
.webp .kp_lilist li:nth-child(10) {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box10.webp");
}
.kp_lilist li:nth-child(10):hover, .kp_lilist li:nth-child(10).light {
  background-size: 100% 100%;
}
.fallback .kp_lilist li:nth-child(10):hover, .fallback .kp_lilist li:nth-child(10).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_box10_hov.png");
}
.webp .kp_lilist li:nth-child(10):hover, .webp .kp_lilist li:nth-child(10).light {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_box10_hov.webp");
}
.kp_lilist li:nth-child(10):hover p, .kp_lilist li:nth-child(10).light p {
  color: #fff;
}
.kp_lilist li:nth-child(1) {
  width: calc(93 / var(--max-width2) * var(--max-width));
  height: calc(97 / var(--max-width2) * var(--max-width));
  top: calc(92 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(1) img {
  width: calc(75 / var(--max-width2) * var(--max-width));
  height: calc(66 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(2) {
  width: calc(127 / var(--max-width2) * var(--max-width));
  height: calc(78 / var(--max-width2) * var(--max-width));
  left: calc(58 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(3) {
  width: calc(85 / var(--max-width2) * var(--max-width));
  height: calc(75 / var(--max-width2) * var(--max-width));
  left: calc(14 / var(--max-width2) * var(--max-width));
  top: calc(207 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(3) img {
  width: calc(70 / var(--max-width2) * var(--max-width));
  height: calc(61 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(4) {
  width: calc(81 / var(--max-width2) * var(--max-width));
  height: calc(107 / var(--max-width2) * var(--max-width));
  left: calc(108 / var(--max-width2) * var(--max-width));
  top: calc(128 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(5) {
  width: calc(127 / var(--max-width2) * var(--max-width));
  height: calc(78 / var(--max-width2) * var(--max-width));
  left: calc(390 / var(--max-width2) * var(--max-width));
  top: calc(294 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(6) {
  width: calc(85 / var(--max-width2) * var(--max-width));
  height: calc(75 / var(--max-width2) * var(--max-width));
  left: calc(458 / var(--max-width2) * var(--max-width));
  top: calc(99 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(6) img {
  width: calc(75 / var(--max-width2) * var(--max-width));
  height: calc(66 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(7) {
  width: calc(173 / var(--max-width2) * var(--max-width));
  height: calc(75 / var(--max-width2) * var(--max-width));
  left: calc(375 / var(--max-width2) * var(--max-width));
  top: calc(14 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(8) {
  width: calc(93 / var(--max-width2) * var(--max-width));
  height: calc(97 / var(--max-width2) * var(--max-width));
  left: calc(460 / var(--max-width2) * var(--max-width));
  top: calc(184 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(8) img {
  width: calc(75 / var(--max-width2) * var(--max-width));
  height: calc(66 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(9) {
  width: calc(81 / var(--max-width2) * var(--max-width));
  height: calc(107 / var(--max-width2) * var(--max-width));
  left: calc(362 / var(--max-width2) * var(--max-width));
  top: calc(128 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:nth-child(10) {
  width: calc(173 / var(--max-width2) * var(--max-width));
  height: calc(75 / var(--max-width2) * var(--max-width));
  left: calc(7 / var(--max-width2) * var(--max-width));
  top: calc(296 / var(--max-width2) * var(--max-width));
}
.kp_lilist li:hover {
  z-index: 30;
}
.kp_lilist li:hover p {
  display: flex;
}

.kp_woman {
  width: calc(175 / var(--max-width2) * var(--max-width));
  height: calc(444 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(192 / var(--max-width2) * var(--max-width));
  top: calc(-50 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: scale(0.92);
  transform-origin: 50% 100%;
}
.fallback .kp_woman {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_wm.png");
}
.webp .kp_woman {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_wm.webp");
}
.kp_woman.lock .kp_woman_mask {
  display: block;
}

.kp_woman_mask {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: none;
}
.fallback .kp_woman_mask {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/cg_wm_unlock.png");
}
.webp .kp_woman_mask {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/cg_wm_unlock.webp");
}

.dia_szyl_btn {
  display: block;
  width: calc(134 / var(--max-width2) * var(--max-width));
  height: calc(24 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  text-indent: -9999px;
}
.fallback .dia_szyl_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/szyl_btn.png");
}
.webp .dia_szyl_btn {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/szyl_btn.webp");
}
.dia_szyl_btn:hover {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .dia_szyl_btn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/szyl_btn_hov.png");
}
.webp .dia_szyl_btn:hover {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/szyl_btn_hov.webp");
}

.kp_delay {
  width: calc(567 / var(--max-width2) * var(--max-width));
  height: calc(62 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(22 / var(--max-width2) * var(--max-width));
  top: calc(518 / var(--max-width2) * var(--max-width));
  display: flex;
  align-items: center;
}

.kp_delay_img {
  width: calc(30 / var(--max-width2) * var(--max-width));
  height: calc(42 / var(--max-width2) * var(--max-width));
}

.kp_delay_num {
  width: calc(156 / var(--max-width2) * var(--max-width));
  margin-left: calc(12 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #392321;
}
.kp_delay_num span {
  display: block;
  font-size: calc(20 / var(--max-width2) * var(--max-width));
  color: #924642;
  line-height: calc(20 / var(--max-width2) * var(--max-width));
}

.kp_delay_xh {
  width: calc(314 / var(--max-width2) * var(--max-width));
  height: calc(24 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(256 / var(--max-width2) * var(--max-width));
  top: calc(10 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #f5efdd;
}
.kp_delay_xh span {
  color: #ffdd83;
}

.kp_delay_xh2 {
  width: calc(314 / var(--max-width2) * var(--max-width));
  height: calc(24 / var(--max-width2) * var(--max-width));
  position: absolute;
  left: calc(256 / var(--max-width2) * var(--max-width));
  top: calc(38 / var(--max-width2) * var(--max-width));
  font-size: calc(14 / var(--max-width2) * var(--max-width));
  color: #7f7465;
}

.dia_ch_prevw {
  width: calc(1920 / var(--max-width2) * var(--max-width));
  height: calc(1080 / var(--max-width2) * var(--max-width));
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
}

.dia_ch_prevw_img {
  width: calc(871 / var(--max-width2) * var(--max-width));
  height: calc(520 / var(--max-width2) * var(--max-width));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.fallback .dia_ch_prevw_img {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/pf_zs.png");
}
.webp .dia_ch_prevw_img {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/pf_zs.webp");
}

@supports (-webkit-background-clip: text) {
  .dia_t span {
    background: linear-gradient(to bottom, #faf2f1 0, #ffefc4 50%, #ffdf8b 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.lightbreth {
  position: relative;
}
.lightbreth:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: absolute;
  top: 0px;
  left: 0px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 65%) 100% 50%/800% 100%;
  pointer-events: none;
  z-index: 30;
  animation: saoguangc 2s ease infinite;
}

.grey {
  filter: grayscale(1);
}

@keyframes saoguangc {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.pcspace {
  display: block;
  width: 100%;
}

.redicon:after {
  content: "";
  width: calc(20 / var(--max-width2) * var(--max-width));
  height: calc(20 / var(--max-width2) * var(--max-width));
  position: absolute;
  right: calc(16 / var(--max-width2) * var(--max-width));
  top: calc(14 / var(--max-width2) * var(--max-width));
  z-index: 20;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.fallback .redicon:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/redicon.png");
}
.webp .redicon:after {
  background-image: url("https://game.gtimg.cn/images/kq/cp/CardMagic/webp/redicon.webp");
}

/*# sourceMappingURL=style.css.map */
