@charset "UTF-8";
html, body, div, p, ul, li, dl, dt, dd, em, i, span, a, img, input, h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}

a, img, input {
  border: none;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

picture {
  display: block;
}

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

img {
  display: block;
}

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

html {
  -ms-touch-action: none;
      touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  color: #000;
}

body {
  background-color: #000;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: none;
}

html,
body {
  height: 100%;
  font-size: 9.2592592593vw;
  overflow: hidden;
}

body {
  font-family: "ya hei";
  font-size: 20px;
}

.hidden {
  display: none;
}

.is-m {
  display: none;
}

.is-pc {
  display: none;
}

#afooter {
  position: relative;
  padding: 30px 0;
  font-size: 18px;
  text-align: center;
  color: #d5cec4;
  background-color: #151515;
}
#afooter a {
  color: #d5cec4;
  text-decoration: none;
}

/* 登录 */
.login {
  position: absolute;
  top: calc(100% + 40px);
  left: 0;
  z-index: 2;
  width: 100%;
  line-height: 1;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  color: #fff;
}

.login a {
  text-decoration: none;
  color: #00dcaf;
}

#milo-logined {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#milo-logout, .areaContainer {
  margin-left: 20px;
}

#milo-userUin {
  margin-right: 5px;
}

.wrap {
  position: relative;
  width: 1080px;
  height: 100%;
  max-height: 2340px;
  max-height: 2340px;
  margin: 0 auto;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.wrap *,
.wrap ::before,
.wrap ::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: none;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
}

:root {
  --ink: #eaf2ff;
  --ghost: #bfe8ff;
  --warm: #ffd27a;
  --danger: #ff5d7a;
  --good: #9ef0c6;
  --gold: #ffd76a;
  --safe-top: env(safe-area-inset-top, rem(1));
  --safe-bot: env(safe-area-inset-bottom, rem(1));
}

#stage {
  position: fixed;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #000;
}

#frame {
  position: absolute;
  width: 1080px;
  max-height: 2340px;
  background: #0b0f1a;
  overflow: hidden;
  -webkit-transform-origin: top left;
          transform-origin: top left;
}

#game-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1080px;
  max-height: 2340px;
  display: block;
  -ms-touch-action: none;
      touch-action: none;
}

.hud-panel {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 137px;
  pointer-events: none;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/hud-panel.png");
}
.hud-panel .hud-hp {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: absolute;
  top: 30px;
  left: 36px;
  width: 239px;
  height: 71px;
}
.hud-panel .hud-hp .hp-heart {
  position: relative;
  width: 76px;
  height: 71px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/hp-heart.png");
}
.hud-panel .hud-hp .hp-heart.empty {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}
.hud-panel .btn-pause {
  position: absolute;
  top: 21px;
  right: 38px;
  width: 82px;
  height: 82px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-pause.png");
  pointer-events: auto;
}
.hud-panel #hud-buff {
  display: none;
}
.hud-panel .btn-mute {
  position: absolute;
  top: 21px;
  right: 135px;
  width: 82px;
  height: 82px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-mute.png");
  pointer-events: auto;
  -webkit-transition: -webkit-filter 0.2s;
  transition: -webkit-filter 0.2s;
  transition: filter 0.2s;
  transition: filter 0.2s, -webkit-filter 0.2s;
}
.hud-panel .btn-mute.muted {
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-mute-muted.png");
}

.score-panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  top: 9px;
  left: 334px;
  width: 412px;
  height: 106px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/score-panel.png");
}
.score-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 432px;
  height: 106px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/score-panel-adorn.png");
}
.score-panel .sp-num {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.score-panel .score-digit {
  position: relative;
  height: 63px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-score-1.png?ver=1730");
  background-size: 44px 630px;
}
.score-panel .score-digit:not(:first-of-type) {
  margin-left: -5px;
}
.score-panel .score-digit.score-digit-0 {
  width: 40px;
  background-position: 0 0;
}
.score-panel .score-digit.score-digit-1 {
  width: 30px;
  background-position: 0 -63px;
}
.score-panel .score-digit.score-digit-2 {
  width: 41px;
  background-position: 0 -126px;
}
.score-panel .score-digit.score-digit-3 {
  width: 42px;
  background-position: 0 -189px;
}
.score-panel .score-digit.score-digit-4 {
  width: 44px;
  background-position: 0 -252px;
}
.score-panel .score-digit.score-digit-5 {
  width: 41px;
  background-position: 0 -315px;
}
.score-panel .score-digit.score-digit-6 {
  width: 41px;
  background-position: 0 -378px;
}
.score-panel .score-digit.score-digit-7 {
  width: 42px;
  background-position: 0 -441px;
}
.score-panel .score-digit.score-digit-8 {
  width: 41px;
  background-position: 0 -504px;
}
.score-panel .score-digit.score-digit-9 {
  width: 41px;
  background-position: 0 -567px;
}
.score-panel.tier-1 .score-digit {
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-score-2.png");
}
.score-panel.tier-2 .score-digit {
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-score-3.png");
}

@-webkit-keyframes scoreGlow2 {
  0%, 100% {
    -webkit-box-shadow: 0 1px 1px rgba(255, 138, 170, 0.45);
            box-shadow: 0 1px 1px rgba(255, 138, 170, 0.45);
  }
  50% {
    -webkit-box-shadow: 0 1px 1px rgba(255, 168, 74, 0.85);
            box-shadow: 0 1px 1px rgba(255, 168, 74, 0.85);
  }
}

@keyframes scoreGlow2 {
  0%, 100% {
    -webkit-box-shadow: 0 1px 1px rgba(255, 138, 170, 0.45);
            box-shadow: 0 1px 1px rgba(255, 138, 170, 0.45);
  }
  50% {
    -webkit-box-shadow: 0 1px 1px rgba(255, 168, 74, 0.85);
            box-shadow: 0 1px 1px rgba(255, 168, 74, 0.85);
  }
}
#timer-display {
  position: absolute;
  top: 473px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 1px;
  font-weight: 900;
  color: #ffd76a;
  text-shadow: 0 1px 1px rgba(255, 210, 122, 0.4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 10;
  display: none;
}
#timer-display .timer-unit {
  font-size: 1px;
  color: #bcd0eb;
  margin-left: 1px;
}
#timer-display.warn {
  color: #ff7a92;
  -webkit-animation: tpulse 0.6s ease-in-out infinite;
          animation: tpulse 0.6s ease-in-out infinite;
}
#timer-display.danger {
  color: #ff5d7a;
  -webkit-animation: tpulse 0.35s ease-in-out infinite;
          animation: tpulse 0.35s ease-in-out infinite;
}
#timer-display .time-unit {
  display: inline-block;
  width: 22px;
  height: 59px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-time.png");
  background-size: 48px 649px;
  background-position: 0 -590px;
}
#timer-display .time-digit {
  display: inline-block;
  height: 59px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-time.png");
  background-size: 48px 649px;
}
#timer-display .time-digit.time-digit-0 {
  width: 48px;
  background-position: 0 0;
}
#timer-display .time-digit.time-digit-1 {
  width: 48px;
  background-position: 0 -59px;
}
#timer-display .time-digit.time-digit-2 {
  width: 48px;
  background-position: 0 -118px;
}
#timer-display .time-digit.time-digit-3 {
  width: 48px;
  background-position: 0 -177px;
}
#timer-display .time-digit.time-digit-4 {
  width: 48px;
  background-position: 0 -236px;
}
#timer-display .time-digit.time-digit-5 {
  width: 48px;
  background-position: 0 -295px;
}
#timer-display .time-digit.time-digit-6 {
  width: 48px;
  background-position: 0 -354px;
}
#timer-display .time-digit.time-digit-7 {
  width: 48px;
  background-position: 0 -413px;
}
#timer-display .time-digit.time-digit-8 {
  width: 48px;
  background-position: 0 -472px;
}
#timer-display .time-digit.time-digit-9 {
  width: 48px;
  background-position: 0 -531px;
}
#timer-display .time-digit.time-digit-unit {
  width: 22px;
  background-position: 0 -590px;
}

@-webkit-keyframes tpulse {
  0%, 100% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
  50% {
    -webkit-transform: translateX(-50%) scale(1.1);
            transform: translateX(-50%) scale(1.1);
  }
}

@keyframes tpulse {
  0%, 100% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
  }
  50% {
    -webkit-transform: translateX(-50%) scale(1.1);
            transform: translateX(-50%) scale(1.1);
  }
}
.pad-btn {
  position: absolute;
  z-index: 20;
  pointer-events: auto;
  -webkit-transition: -webkit-transform 0.08s;
  transition: -webkit-transform 0.08s;
  transition: transform 0.08s;
  transition: transform 0.08s, -webkit-transform 0.08s;
}
.pad-btn:active, .pad-btn.active {
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}

.control-panel {
  position: absolute;
  bottom: 180px;
  left: 0;
  width: 100%;
}

.btn-left {
  bottom: 0;
  left: 37px;
  width: 158px;
  height: 159px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-left.png");
}

.btn-right {
  bottom: 0;
  left: 219px;
  width: 158px;
  height: 159px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-right.png");
}

.btn-hold {
  bottom: 0;
  right: 219px;
  width: 158px;
  height: 159px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-hold.png");
}

.btn-hold.on {
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-hold-active.png");
}

.btn-skill {
  bottom: 0;
  right: 37px;
  z-index: 22;
  width: 158px;
  height: 159px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-skill.png");
}
.btn-skill .cd-mask {
  position: absolute;
  inset: 0;
  background: conic-gradient(rgba(0, 0, 0, 0.6) calc(var(--cd, 0) * 1%), transparent 0);
  -webkit-mask-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-skill.png");
          mask-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-skill.png");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  pointer-events: none;
}
.btn-skill .cd-txt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: absolute;
  inset: 0;
  font-weight: bold;
  font-size: 50px;
  color: #fff;
  pointer-events: none;
  opacity: 0;
}
.btn-skill .uses-badge {
  display: none;
}
.btn-skill.cooldown {
  -webkit-filter: grayscale(0.5);
          filter: grayscale(0.5);
}
.btn-skill.exhausted {
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
}

#joystick-zone {
  display: none;
  position: absolute;
  bottom: -103px;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 400px;
}
#joystick-zone .joystick-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#joystick-zone .joystick-ring-outer {
  width: 158px;
  height: 158px;
  border: 2.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}
#joystick-zone .joystick-ring-inner {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.92), rgba(140, 160, 255, 0.78));
  -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4);
          box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

#combo-display {
  display: none;
  position: absolute;
  top: 780px;
  right: 34px;
  z-index: 25;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  pointer-events: none;
}
#combo-display.bump {
  -webkit-animation: comboBump 180ms ease-out forwards;
          animation: comboBump 180ms ease-out forwards;
}
#combo-display .combo-label {
  width: 280px;
  height: 70px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/combo.png");
}
#combo-display .combo-num {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#combo-display .combo-x {
  display: inline-block;
  width: 64px;
  height: 76px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-combo.png");
  background-size: 64px 836px;
  background-position: 0 -760px;
}
#combo-display .combo-digit {
  display: inline-block;
  height: 76px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/digit/digit-combo.png");
  background-size: 64px 836px;
}
#combo-display .combo-digit:not(:first-of-type) {
  margin-left: -2px;
}
#combo-display .combo-digit.combo-digit-0 {
  width: 62px;
  background-position: 0 0;
}
#combo-display .combo-digit.combo-digit-1 {
  width: 48px;
  background-position: 0 -76px;
}
#combo-display .combo-digit.combo-digit-2 {
  width: 60px;
  background-position: 0 -152px;
}
#combo-display .combo-digit.combo-digit-3 {
  width: 60px;
  background-position: 0 -228px;
}
#combo-display .combo-digit.combo-digit-4 {
  width: 64px;
  background-position: 0 -304px;
}
#combo-display .combo-digit.combo-digit-5 {
  width: 60px;
  background-position: 0 -380px;
}
#combo-display .combo-digit.combo-digit-6 {
  width: 60px;
  background-position: 0 -456px;
}
#combo-display .combo-digit.combo-digit-7 {
  width: 59px;
  background-position: 0 -532px;
}
#combo-display .combo-digit.combo-digit-8 {
  width: 62px;
  background-position: 0 -608px;
}
#combo-display .combo-digit.combo-digit-9 {
  width: 60px;
  background-position: 0 -684px;
}
#combo-display .combo-digit.combo-digit-x {
  width: 64px;
  background-position: 0 -760px;
}

.combo-break {
  display: none;
  position: absolute;
  top: 554px;
  left: 50%;
  width: 766px;
  height: 95px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/combo-break.png");
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  opacity: 0;
  -webkit-transition: opacity 220ms ease-out;
  transition: opacity 220ms ease-out;
}
.combo-break.show {
  display: block;
  opacity: 1;
  -webkit-animation: comboBreakIn 220ms ease-out;
          animation: comboBreakIn 220ms ease-out;
}

#side-banner {
  position: absolute;
  right: 40px;
  top: 880px;
  display: none;
  pointer-events: none;
  z-index: 25;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#side-banner.show {
  display: block;
}
#side-banner.bump {
  -webkit-animation: sideBump 180ms ease-out forwards;
          animation: sideBump 180ms ease-out forwards;
}
#side-banner.display-1 {
  width: 164px;
  height: 51px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-1.png");
}
#side-banner.display-2 {
  width: 144px;
  height: 45px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-2.png");
}
#side-banner.display-3 {
  width: 141px;
  height: 45px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-3.png");
}
#side-banner.display-4 {
  width: 157px;
  height: 45px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-4.png");
}
#side-banner.display-5 {
  width: 457px;
  height: 53px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-5.png");
}
#side-banner.display-6 {
  width: 472px;
  height: 53px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-6.png");
}
#side-banner.display-7 {
  width: 396px;
  height: 53px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-7.png");
}
#side-banner.display-8 {
  width: 359px;
  height: 53px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-8.png");
}
#side-banner.display-9 {
  width: 147px;
  height: 51px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-9.png");
}
#side-banner.display-10 {
  width: 151px;
  height: 51px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/display/display-10.png");
}

@-webkit-keyframes sideBump {
  0% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes sideBump {
  0% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes comboBump {
  0% {
    -webkit-transform: translateY(-50%) scale(1.2);
            transform: translateY(-50%) scale(1.2);
  }
  100% {
    -webkit-transform: translateY(-50%) scale(1);
            transform: translateY(-50%) scale(1);
  }
}
@keyframes comboBump {
  0% {
    -webkit-transform: translateY(-50%) scale(1.2);
            transform: translateY(-50%) scale(1.2);
  }
  100% {
    -webkit-transform: translateY(-50%) scale(1);
            transform: translateY(-50%) scale(1);
  }
}
@-webkit-keyframes comboBreakIn {
  0% {
    -webkit-transform: translateX(-50%) scale(1.2);
            transform: translateX(-50%) scale(1.2);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}
@keyframes comboBreakIn {
  0% {
    -webkit-transform: translateX(-50%) scale(1.2);
            transform: translateX(-50%) scale(1.2);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
            transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}
#warn-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-size: 100% 100%;
  background-position: center bottom;
  opacity: 0;
  -webkit-transition: opacity 0.15s;
  transition: opacity 0.15s;
}
#warn-flash.warn {
  opacity: 1;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke//warn-flash-warn.png");
  -webkit-animation: warnPulseYellow 0.5s ease-in-out infinite;
          animation: warnPulseYellow 0.5s ease-in-out infinite;
}
#warn-flash.on {
  opacity: 1;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke//warn-flash-on.png");
  -webkit-animation: warnPulse 0.35s ease-in-out infinite;
          animation: warnPulse 0.35s ease-in-out infinite;
}

@-webkit-keyframes warnPulseYellow {
  0%, 100% {
    background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke//warn-flash-warn.png");
  }
  50% {
    background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke//warn-flash-on.png");
  }
}

@keyframes warnPulseYellow {
  0%, 100% {
    background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke//warn-flash-warn.png");
  }
  50% {
    background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke//warn-flash-on.png");
  }
}
@-webkit-keyframes warnPulse {
  0%, 100% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  50% {
    -webkit-filter: brightness(1.45);
            filter: brightness(1.45);
  }
}
@keyframes warnPulse {
  0%, 100% {
    -webkit-filter: brightness(1);
            filter: brightness(1);
  }
  50% {
    -webkit-filter: brightness(1.45);
            filter: brightness(1.45);
  }
}
.modal-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.modal-overlay.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal-box {
  background: rgba(15, 22, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  padding: 1px;
  max-width: 1px;
  width: 90%;
  text-align: center;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  font-family: -apple-system, "PingFang SC", system-ui, sans-serif;
}

.modal-title {
  font-size: 1px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 1px;
  font-weight: 900;
}

.modal-btn {
  border: none;
  cursor: pointer;
  font: 700 1px -apple-system, system-ui;
  padding: 1px 1px;
  border-radius: 1px;
  margin: 1px;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffd76a), to(#ffa84a));
  background: linear-gradient(180deg, #ffd76a, #ffa84a);
  color: #1a0f00;
  -webkit-box-shadow: 0 1px 1px rgba(255, 168, 74, 0.35);
          box-shadow: 0 1px 1px rgba(255, 168, 74, 0.35);
}
.modal-btn.ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: none;
          box-shadow: none;
}
.modal-btn.blue {
  background: -webkit-gradient(linear, left top, left bottom, from(#5fb6ff), to(#3a8ad6));
  background: linear-gradient(180deg, #5fb6ff, #3a8ad6);
  color: #fff;
  -webkit-box-shadow: 0 1px 1px rgba(95, 182, 255, 0.3);
          box-shadow: 0 1px 1px rgba(95, 182, 255, 0.3);
}

.page {
  position: absolute;
  inset: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 40;
}
.page.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.page-home {
  position: relative;
  width: 1080px;
  height: 100%;
  max-height: 2340px;
  background-color: #000;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/bg-home.jpg");
  background-position: center;
}
.page-home .page-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.page-home .hero {
  position: absolute;
  top: 232px;
  left: 168px;
  width: 792px;
  height: 984px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/hero.png");
}
.page-home .slogan {
  position: absolute;
  top: 984px;
  left: 143px;
  width: 816px;
  height: 580px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/slogan.png");
}
.page-home .score {
  position: absolute;
  top: 1670px;
  left: 0;
  width: 100%;
  font-weight: bold;
  font-size: 44px;
  text-align: center;
  color: #24286c;
}
.page-home .bottom-tool {
  position: absolute;
  top: 1739px;
  left: 235px;
  z-index: 2;
  width: 606px;
}
.page-home .btn-start {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 584px;
  height: 157px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-start.png");
}
.page-home .btn-photo {
  position: absolute;
  top: 180px;
  left: 0px;
  width: 589px;
  height: 153px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-photo.png");
}
.page-home .btn-record {
  position: absolute;
  top: 327px;
  right: 38px;
  width: 179px;
  height: 177px;
  font-size: 0;
  text-indent: -999em;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-record.png");
}
.page-home .right-tool {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 81px;
  right: 64px;
}
.page-home .right-tool a:not(:first-of-type) {
  margin-left: 25px;
}
.page-home .user-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 25px;
  font-size: 30px;
  color: #fff;
  display: none;
}
.page-home .user-info a {
  position: relative;
  margin-left: 10px;
  font-size: 28px;
  color: #fff;
}
.page-home .user-info a::after {
  content: "";
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.page-home .btn-user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 117px;
  height: 117px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-user.png");
}
.page-home .btn-bgm {
  width: 117px;
  height: 117px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-mute.png");
  -webkit-transition: -webkit-filter 0.2s;
  transition: -webkit-filter 0.2s;
  transition: filter 0.2s;
  transition: filter 0.2s, -webkit-filter 0.2s;
}
.page-home .btn-bgm.muted {
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-mute-muted.png");
}
.page-home .btn-rule {
  width: 117px;
  height: 117px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/btn-rule.png");
}
.page-home a {
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}
.page-home .ld-bar-wrap {
  position: absolute;
  top: 1811px;
  left: 50%;
  width: 824px;
  height: 77px;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/ld-bar-wrap.png");
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.page-home .ld-bar {
  position: relative;
  width: 0%;
  height: 100%;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/ld-bar.png");
  background-position: left center;
  background-size: 824px 77px;
  -webkit-transition: width 0.12s ease-out;
  transition: width 0.12s ease-out;
}
.page-home .ld-bar::after {
  content: "";
  position: absolute;
  bottom: -21px;
  right: -73px;
  width: 128px;
  height: 141px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/ld-bar-adorn.png");
}
.page-home .ld-pct {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
.page-home .ld-pct .end-combo-digit {
  display: inline-block;
  height: 29px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-0 {
  width: 22px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-0.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-1 {
  width: 17px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-1.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-2 {
  width: 22px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-2.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-3 {
  width: 21px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-3.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-4 {
  width: 23px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-4.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-5 {
  width: 20px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-5.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-6 {
  width: 22px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-6.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-7 {
  width: 21px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-7.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-8 {
  width: 22px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-8.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-digit-9 {
  width: 22px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-9.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-unit {
  width: 125px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-unit.png");
}
.page-home .ld-pct .end-combo-digit.end-combo-percent {
  width: 29px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/end-combo-percent.png");
}
.page-home.loading a {
  opacity: 0;
  pointer-events: none;
}
.page-home.loading .ld-bar-wrap,
.page-home.loading .ld-pct {
  opacity: 1;
}

#page-char-select .page-inner {
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#0f1830), to(#1c2a4a));
  background: linear-gradient(180deg, #0f1830, #1c2a4a);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1px 1px;
  gap: 1px;
}
#page-char-select .char-select-title {
  font-size: 1px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}
#page-char-select #hero-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1px;
  width: 100%;
}
#page-char-select #hero-desc {
  font-size: 1px;
  color: #bcd0eb;
  text-align: center;
  line-height: 1.7;
  padding: 0 1px;
}
#page-char-select #char-start-btn {
  font-size: 1px;
  letter-spacing: 1px;
  padding: 1px 1px;
}

#page-countdown .page-inner {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#countdown-num {
  font-size: 1px;
  font-weight: 900;
  color: #ffd76a;
  text-shadow: 0 0 1px rgba(255, 210, 122, 0.6);
  font-variant-numeric: tabular-nums;
}

#modal-rules .rules-img {
  width: 100%;
  border-radius: 1px;
  margin-bottom: 1px;
}

.pc-page .page-pc {
  position: relative;
  width: 2560px;
  height: 100%;
  max-height: 1440px;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/bg-pc.jpg");
  background-position: center;
}
.pc-page .page-pc .page-mask {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 626px;
  height: 1320px;
  -webkit-transform: translate(-50%, calc(-50% - 18px));
          transform: translate(-50%, calc(-50% - 18px));
}
.pc-page .page-pc .page-mask::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  -webkit-mask-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/page-mask.png");
          mask-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/page-mask.png");
  -webkit-mask-size: 100% auto;
          mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  pointer-events: none;
}
.pc-page .page-pc .page-mask::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://game.gtimg.cn/images/nikke/cp/a20260706nikke/page-border.png");
  background-size: 100% auto;
  pointer-events: none;
}
.pc-page .page-pc .control-panel {
  bottom: 100px;
}
.pc-page #frame {
  position: absolute;
  top: 0;
  left: 0;
  height: 2340px;
}