@charset "UTF-8";
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}
.main .is-hidden {
  display: none !important;
}
.main .button {
  cursor: pointer;
}
.main .start-title {
  position: absolute;
  z-index: 99;
  top: 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main .start-title img.title {
  width: 347.5px;
  height: 168px;
  margin-bottom: 50px;
}
.main .start-title img.start-btn {
  width: 200px;
  height: 80px;
}
.main .float-game-ui {
  overflow: hidden;
  margin-top: 20px;
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  top: 0;
  z-index: 99;
  color: #464646;
  font-family: NotoSans;
  font-weight: bold;
}
.main .float-game-ui .ui-wrap {
  width: 380px;
  position: relative;
}
.main .float-game-ui .top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 30px;
  font-size: 18px;
  letter-spacing: 1.8px;
}
.main .float-game-ui .top-section .timer {
  display: flex;
  align-items: center;
}
.main .float-game-ui .top-section .timer img {
  margin-right: 10px;
}
.main .float-game-ui .top-section .total {
  display: flex;
}
.main .float-game-ui .top-section .total .title {
  margin-right: 10px;
}
.main .float-game-ui .top-section .total .battery-image {
  width: 42.5px;
  height: 25px;
  background-size: cover;
  margin-right: 8px;
}
.main .float-game-ui .top-section .total .value {
  min-width: 55px;
  text-align: right;
  font-size: 20px;
}
.main .float-game-ui .top-section .total.level_1 .battery-image {
  background-image: url("../img/scoreboard/total_1.png");
}
.main .float-game-ui .top-section .total.level_1 .value {
  color: #ff4343;
}
.main .float-game-ui .top-section .total.level_2 .battery-image {
  background-image: url("../img/scoreboard/total_2.png");
}
.main .float-game-ui .top-section .total.level_2 .value {
  color: #ffc300;
}
.main .float-game-ui .top-section .total.level_3 .battery-image {
  background-image: url("../img/scoreboard/total_3.png");
}
.main .float-game-ui .top-section .total.level_3 .value {
  color: #ffdc19;
}
.main .float-game-ui .top-section .total.level_4 .battery-image {
  background-image: url("../img/scoreboard/total_4.png");
}
.main .float-game-ui .top-section .total.level_4 .value {
  color: #b2c825;
}
.main .float-game-ui .score-board {
  height: 80px;
  width: 380px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.main .float-game-ui .score-board img.background {
  position: absolute;
  height: 100%;
}
.main .float-game-ui .score-board .score {
  z-index: 1;
  display: flex;
  align-items: center;
}
.main .float-game-ui .score-board .score img.icon {
  width: 46px;
  height: 46px;
}
.main .float-game-ui .score-board .score .value {
  width: 42px;
  font-size: 22px;
  letter-spacing: 2.2px;
  color: #fa9e32;
  text-align: right;
}
.main .float-game-ui .score-board .divider {
  height: 100%;
  width: 2px;
  background-color: gray;
}
.main .float-game-ui .arrow {
  position: fixed;
  bottom: 10%;
}
.main .float-game-ui .arrow img {
  width: 115px;
  height: 90px;
}
.main .float-game-ui .arrow.right {
  right: 5%;
}
.main .float-game-ui .arrow.left {
  left: 5%;
}
.main .float-game-ui .arrow:active {
  transform: scale(1.05); /* 将按钮放大 5% */
}
.main .game-over-title {
  position: absolute;
  z-index: 99;
  top: 0;
  margin-top: 60px;
}
.main .game-over-title img {
  width: 229px;
  height: 148px;
  display: none;
}
.main .game-over-title.game-over img.game-over-img {
  display: block;
}
.main .game-over-title.time-up img.time-up-img {
  display: block;
}
.main .share-page {
  position: absolute;
  z-index: 99;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  justify-content: center;
}
.main .share-page .eden-logo img {
  width: 100px;
  height: 24px;
}
.main .share-page .result-card {
  margin-bottom: 5px;
  position: relative;
}
.main .share-page .result-card .title {
  display: none;
  font-family: NotoSans;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.38;
  text-align: left;
  color: #cb8c2f;
  margin-bottom: 5px;
  text-align: center;
}
.main .share-page .result-card .title.level_1 {
  color: #cb2626;
}
.main .share-page .result-card .title.level_2 {
  color: #cb8c2f;
}
.main .share-page .result-card .title.level_3 {
  color: #ce9921;
}
.main .share-page .result-card .title.level_4 {
  color: #7d8930;
}
.main .share-page .result-card .result-image {
  width: 288px;
  height: 210px;
  background-size: cover;
}
.main .share-page .result-card .result-score {
  position: absolute;
  top: 65px;
  right: 30px;
  height: 33px;
  font-family: NotoSans;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}
.main .share-page .result-card.level_1 .title.level_1 {
  display: block;
}
.main .share-page .result-card.level_1 .result-image {
  background-image: url("../img/result/level_1.png");
}
.main .share-page .result-card.level_2 .title.level_2 {
  display: block;
}
.main .share-page .result-card.level_2 .result-image {
  background-image: url("../img/result/level_2.png");
}
.main .share-page .result-card.level_3 .title.level_3 {
  display: block;
}
.main .share-page .result-card.level_3 .result-image {
  background-image: url("../img/result/level_3.png");
}
.main .share-page .result-card.level_4 .title.level_4 {
  display: block;
}
.main .share-page .result-card.level_4 .result-image {
  background-image: url("../img/result/level_4.png");
}
.main .share-page .result-desc {
  width: 300px;
  font-family: NotoSans;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  letter-spacing: 1.6px;
  text-align: left;
  color: #464646;
  margin-bottom: 17px;
}
.main .share-page .external-section {
  width: 300px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 20px;
}
.main .share-page .external-section img.icon {
  height: 66px;
  width: 66px;
}
.main .share-page .external-section .title {
  height: 22px;
  font-family: NotoSans;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: normal;
  text-align: center;
  color: #e35700;
  margin-bottom: 5px;
}
.main .share-page .external-section .divider {
  background-color: #4d4d4d;
  width: 2px;
  height: 30px;
  margin-top: 45px;
}
.main .share-page .external-section .link-section {
  padding-right: 30px;
}
.main .share-page .restart-button {
  padding-bottom: 60px;
}
.main .share-page .restart-button img {
  height: 80px;
  width: 200px;
}
.main .share-page .result-footer {
  position: absolute;
  padding-top: 3px;
  bottom: 27px;
  width: 100vw;
  height: 30px;
  background-color: white;
  background-size: auto 100%;
  background-image: url("../img/result/resultFooter.png");
  background-position: center;
  background-repeat: no-repeat;
}
.main .game-wrap {
  position: relative;
  overflow: hidden;
  height: calc(100% - 30px);
}
.main .game-wrap canvas {
  height: 100%;
}
.main .game-wrap canvas.isGameOver {
  filter: grayscale(100%);
}
.main .page-footer {
  position: absolute;
  bottom: 0;
  width: 100vw;
  height: 30px;
  background-size: cover;
  background-image: url("../img/pageFooter.png");
  background-position: center;
}

@media only screen and (max-width: 480px) {
  .main .float-game-ui .arrow {
    bottom: 20px;
  }
}

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