/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
@import url("https://font.emtech.cc/css/GenSenRoundedTW");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, img {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

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

a {
  text-decoration: none;
}

.container {
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.section {
  min-height: calc(100% - 261px);
}
@media screen and (max-width: 767px) {
  .section {
    min-height: calc(100% - 123px);
  }
}

.textPurple {
  color: #8964ff;
  font-weight: bold;
}

.textGreen {
  color: #0ea599;
}

.textCenter {
  text-align: center;
}

.textUnderline {
  text-decoration: underline;
}

.positionR {
  position: relative;
}

.dFlex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.dBlock {
  display: block;
}

.flexColumn {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.alignCenter {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.justifyCenter {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.justifyBetween {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.justifyStart {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.justifyEnd {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.textCenter {
  text-align: center;
}

.marginX {
  margin: auto;
}

.perspective {
  -webkit-perspective: 1000;
          perspective: 1000;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body,
html {
  font-family: "GenSenRoundedTW", sans-serif;
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  vertical-align: top;
}

a {
  text-decoration: none;
}

.candyIndexTop {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  z-index: 5;
}

.homeBackBtn {
  width: 15%;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.homeBackBtn img {
  width: 100%;
  height: auto;
  display: block;
}

.motcLogoText {
  margin-top: 8px;
  width: min(180px, 22%);
}

.motcLogoText img {
  width: 100%;
  height: auto;
  display: block;
}

.candyIndexFooter {
  margin: 2px;
  text-align: center;
  font-size: 12px;
  color: #055962;
}

.indexBgDecor {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  pointer-events: none;
  z-index: 0;
}
.indexBgDecor img {
  width: 100%;
  height: auto;
  display: block;
}
.indexBgDecor--top {
  top: 0;
}
.indexBgDecor--bottom {
  bottom: 0;
}

.candyIndexPage {
  min-height: 100vh;
  height: 100dvh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#46dbee), to(#68edc6));
  background: linear-gradient(to bottom, #46dbee 0%, #68edc6 100%);
}

.candyIndexShell {
  width: min(540px, 100%);
  min-height: 100vh;
  height: 100dvh;
  padding: 12px 12px 5px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  position: relative;
  overflow: hidden;
}
.candyIndexShell > :not(.indexBgDecor):not(.indexTeachModal) {
  position: relative;
}
@media screen and (max-width: 450px) {
  .candyIndexShell {
    padding: 8px 8px 5px;
  }
}

.candyIndexPage:has(.indexWrap) {
  min-height: 100vh;
  height: auto;
  overflow-y: auto;
}

.candyIndexShell:has(.indexWrap) {
  min-height: 100vh;
  height: auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow-y: auto;
}

.indexWrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  min-height: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.indexCarArea {
  position: relative;
  pointer-events: none;
}
.indexCarArea .indexCar {
  -webkit-animation: carIdleShake 0.22s linear infinite;
          animation: carIdleShake 0.22s linear infinite;
}

.bubble {
  position: absolute;
  -webkit-animation: bubbleFloat 4.8s ease-in-out infinite;
          animation: bubbleFloat 4.8s ease-in-out infinite;
  will-change: transform;
  z-index: 4;
}
.bubble-a {
  top: 0;
  width: 25%;
  left: 15%;
  -webkit-animation-duration: 4.2s;
          animation-duration: 4.2s;
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s;
}
.bubble-b {
  left: 0;
  bottom: 0;
  width: 30%;
  -webkit-animation-duration: 5.1s;
          animation-duration: 5.1s;
  -webkit-animation-delay: -1.3s;
          animation-delay: -1.3s;
}
.bubble-c {
  right: 0;
  top: 35%;
  width: 20%;
  -webkit-animation-duration: 5.5s;
          animation-duration: 5.5s;
  -webkit-animation-delay: -1.9s;
          animation-delay: -1.9s;
}
.bubble-d {
  width: 25%;
  right: -3%;
  bottom: 0;
  -webkit-animation-duration: 4.6s;
          animation-duration: 4.6s;
  -webkit-animation-delay: -2.2s;
          animation-delay: -2.2s;
}
.bubble-e {
  width: 22%;
  top: 25%;
  left: 3%;
  -webkit-animation-duration: 5.2s;
          animation-duration: 5.2s;
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s;
}
.bubble-f {
  width: 25%;
  right: 0;
  top: 0;
  -webkit-animation-duration: 4.7s;
          animation-duration: 4.7s;
  -webkit-animation-delay: -1.6s;
          animation-delay: -1.6s;
}
.bubble-g {
  top: -3%;
  right: 28%;
  width: 25%;
  -webkit-animation-duration: 5s;
          animation-duration: 5s;
  -webkit-animation-delay: -2.4s;
          animation-delay: -2.4s;
}

.indexBtns {
  position: relative;
  z-index: 6;
  width: 40%;
  margin: 0 auto;
}
@media screen and (max-width: 450px) {
  .indexBtns {
    width: 50%;
  }
}
.indexBtns .indexBtn {
  display: block;
  width: 80%;
  margin: 0 auto 10px;
}
.indexBtns .indexBtn_Start {
  width: 100%;
}

@-webkit-keyframes bubbleFloat {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  25% {
    -webkit-transform: translate3d(4px, -8px, 0);
            transform: translate3d(4px, -8px, 0);
  }
  50% {
    -webkit-transform: translate3d(-1px, -13px, 0);
            transform: translate3d(-1px, -13px, 0);
  }
  75% {
    -webkit-transform: translate3d(-5px, -6px, 0);
            transform: translate3d(-5px, -6px, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}

@keyframes bubbleFloat {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  25% {
    -webkit-transform: translate3d(4px, -8px, 0);
            transform: translate3d(4px, -8px, 0);
  }
  50% {
    -webkit-transform: translate3d(-1px, -13px, 0);
            transform: translate3d(-1px, -13px, 0);
  }
  75% {
    -webkit-transform: translate3d(-5px, -6px, 0);
            transform: translate3d(-5px, -6px, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes carIdleShake {
  0% {
    -webkit-transform: translate3d(0, 0, 0) rotate(0deg);
            transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    -webkit-transform: translate3d(-0.7px, 0.8px, 0) rotate(-0.2deg);
            transform: translate3d(-0.7px, 0.8px, 0) rotate(-0.2deg);
  }
  50% {
    -webkit-transform: translate3d(0.8px, -0.4px, 0) rotate(0.15deg);
            transform: translate3d(0.8px, -0.4px, 0) rotate(0.15deg);
  }
  75% {
    -webkit-transform: translate3d(-0.5px, -0.7px, 0) rotate(-0.15deg);
            transform: translate3d(-0.5px, -0.7px, 0) rotate(-0.15deg);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0) rotate(0deg);
            transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
@keyframes carIdleShake {
  0% {
    -webkit-transform: translate3d(0, 0, 0) rotate(0deg);
            transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    -webkit-transform: translate3d(-0.7px, 0.8px, 0) rotate(-0.2deg);
            transform: translate3d(-0.7px, 0.8px, 0) rotate(-0.2deg);
  }
  50% {
    -webkit-transform: translate3d(0.8px, -0.4px, 0) rotate(0.15deg);
            transform: translate3d(0.8px, -0.4px, 0) rotate(0.15deg);
  }
  75% {
    -webkit-transform: translate3d(-0.5px, -0.7px, 0) rotate(-0.15deg);
            transform: translate3d(-0.5px, -0.7px, 0) rotate(-0.15deg);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0) rotate(0deg);
            transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
.indexTeachModal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
}
.indexTeachModal.is-open {
  display: block;
}
.indexTeachModal__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
}
.indexTeachModal__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.indexTeachModal__image {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.indexTeachModal__close {
  position: absolute;
  right: clamp(20px, 2.2vw, 25px);
  top: clamp(20px, 2.2vw, 25px);
  width: clamp(120px, 15vw, 150px);
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}
.indexTeachModal__close img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .bubble,
  .indexCar {
    -webkit-animation: none;
            animation: none;
  }
}
.candyIndexPage:has(.gameWrap) {
  height: 100dvh;
  overflow: hidden;
}

.candyIndexShell:has(.gameWrap) {
  height: 100dvh;
  min-height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.gameWrap {
  height: 100%;
  min-height: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: transparent;
  margin-top: 0;
}

.gameContainer {
  position: relative;
  background: transparent;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  width: min(860px, 100%);
  height: 100%;
  min-height: 0;
  overflow: visible;
  display: grid;
  grid-template-rows: minmax(0, 85%) minmax(0, 15%);
  gap: 0;
}

.gameContainer.level-entering .js-levelDecor {
  -webkit-animation: levelDecorEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
          animation: levelDecorEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  -webkit-transform-origin: center top;
      -ms-transform-origin: center top;
          transform-origin: center top;
}
.gameContainer.level-entering .gameBoard {
  -webkit-animation: levelBoardEnter 0.72s cubic-bezier(0.2, 0.95, 0.24, 1) both;
          animation: levelBoardEnter 0.72s cubic-bezier(0.2, 0.95, 0.24, 1) both;
}
.gameContainer.level-entering .targetCard {
  opacity: 0;
  -webkit-animation: levelTargetEnter 0.42s ease-out both;
          animation: levelTargetEnter 0.42s ease-out both;
}
.gameContainer.level-entering .targetCard:nth-child(1) {
  -webkit-animation-delay: 0.18s;
          animation-delay: 0.18s;
}
.gameContainer.level-entering .targetCard:nth-child(2) {
  -webkit-animation-delay: 0.24s;
          animation-delay: 0.24s;
}
.gameContainer.level-entering .targetCard:nth-child(3) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.gameContainer.level-entering .targetCard:nth-child(4) {
  -webkit-animation-delay: 0.36s;
          animation-delay: 0.36s;
}
.gameContainer.level-entering .targetCard:nth-child(5) {
  -webkit-animation-delay: 0.42s;
          animation-delay: 0.42s;
}

.gameTitleDecor {
  width: min(560px, 100%);
  position: absolute;
  left: 50%;
  top: clamp(-74px, -8vh, -26px);
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  margin: 0;
  z-index: 4;
  pointer-events: none;
}
.gameTitleDecor img {
  width: 100%;
  display: block;
  border-radius: 18px;
}
@media screen and (max-width: 450px) {
  .gameTitleDecor {
    width: min(560px, 92%);
  }
}

.gameHintToast {
  position: absolute;
  left: 50%;
  top: 12px;
  -webkit-transform: translate(-50%, -8px);
      -ms-transform: translate(-50%, -8px);
          transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
  white-space: nowrap;
  max-width: calc(100% - 24px);
  text-align: center;
}
.gameHintToast.show {
  opacity: 1;
  -webkit-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

.gameBoard {
  --cols: 5;
  --rows: 8;
  --cell: 60px;
  --gap: 0px;
  --pad: 8px;
  --pad-x: 8px;
  --pad-y: 10px;
  --step: calc(var(--cell) + var(--gap));
  position: relative;
  top: 6.5%;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  margin-left: auto;
  margin-right: auto;
  z-index: 5;
  width: 90%;
  height: auto;
  max-height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: rgba(0, 201, 194, 0.7529411765);
  padding: var(--pad-y) var(--pad-x);
  overflow: hidden;
  border-radius: 22px;
  border: 3px solid #3dd2d0;
  -webkit-box-shadow: inset 0 0px 15px rgba(255, 255, 255, 0.856);
          box-shadow: inset 0 0px 15px rgba(255, 255, 255, 0.856);
  -webkit-transition: -webkit-transform 0.22s ease, -webkit-filter 0.22s ease;
  transition: -webkit-transform 0.22s ease, -webkit-filter 0.22s ease;
  transition: transform 0.22s ease, filter 0.22s ease;
  transition: transform 0.22s ease, filter 0.22s ease, -webkit-transform 0.22s ease, -webkit-filter 0.22s ease;
}
.gameBoard.reshuffling {
  -webkit-transform: scale(0.985);
      -ms-transform: scale(0.985);
          transform: scale(0.985);
  -webkit-filter: saturate(0.82) brightness(0.95);
          filter: saturate(0.82) brightness(0.95);
}

.candy {
  width: var(--cell);
  height: var(--cell);
  border-radius: calc(var(--cell) * 0.12);
  cursor: -webkit-grab;
  cursor: grab;
  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;
  font-size: calc(var(--cell) * 0.58);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: absolute;
  -ms-touch-action: none;
      touch-action: none;
}
.candy:hover {
  -webkit-transform: scale(1.04);
      -ms-transform: scale(1.04);
          transform: scale(1.04);
}
.candy.dragging {
  cursor: -webkit-grabbing;
  cursor: grabbing;
  z-index: 1000;
  -webkit-transform: scale(1.15);
      -ms-transform: scale(1.15);
          transform: scale(1.15);
  -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
          box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  -webkit-transition: none;
  transition: none;
}
.candy.selected {
  -webkit-transform: scale(1.15);
      -ms-transform: scale(1.15);
          transform: scale(1.15);
  -webkit-box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
          box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  border: 3px solid gold;
}
.candy.removing {
  -webkit-animation: pop 0.5s ease;
          animation: pop 0.5s ease;
}
.candy.swapping {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.candy.falling {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.candy-0, .candy-1, .candy-2, .candy-3, .candy-4, .candy-5 {
  background: transparent;
}

@-webkit-keyframes pop {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(1.3) rotate(10deg);
            transform: scale(1.3) rotate(10deg);
    opacity: 0.7;
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
  }
}

@keyframes pop {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(1.3) rotate(10deg);
            transform: scale(1.3) rotate(10deg);
    opacity: 0.7;
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
  }
}
@-webkit-keyframes levelBoardEnter {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 56px, 0) scale(0.96);
            transform: translate3d(0, 56px, 0) scale(0.96);
    -webkit-filter: saturate(0.88) blur(1px);
            filter: saturate(0.88) blur(1px);
  }
  68% {
    opacity: 1;
    -webkit-transform: translate3d(0, -6px, 0) scale(1.01);
            transform: translate3d(0, -6px, 0) scale(1.01);
    -webkit-filter: saturate(1.03) blur(0);
            filter: saturate(1.03) blur(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
    -webkit-filter: none;
            filter: none;
  }
}
@keyframes levelBoardEnter {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 56px, 0) scale(0.96);
            transform: translate3d(0, 56px, 0) scale(0.96);
    -webkit-filter: saturate(0.88) blur(1px);
            filter: saturate(0.88) blur(1px);
  }
  68% {
    opacity: 1;
    -webkit-transform: translate3d(0, -6px, 0) scale(1.01);
            transform: translate3d(0, -6px, 0) scale(1.01);
    -webkit-filter: saturate(1.03) blur(0);
            filter: saturate(1.03) blur(0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
    -webkit-filter: none;
            filter: none;
  }
}
@-webkit-keyframes levelDecorEnter {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -22px, 0) scale(0.96);
            transform: translate3d(0, -22px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes levelDecorEnter {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -22px, 0) scale(0.96);
            transform: translate3d(0, -22px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
  }
}
@-webkit-keyframes levelTargetEnter {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 18px, 0) scale(0.94);
            transform: translate3d(0, 18px, 0) scale(0.94);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes levelTargetEnter {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 18px, 0) scale(0.94);
            transform: translate3d(0, 18px, 0) scale(0.94);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
            transform: translate3d(0, 0, 0) scale(1);
  }
}
.targetGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  max-width: 560px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  align-self: end;
  padding-bottom: 6px;
}

.targetCard {
  position: relative;
  border-radius: 16px;
  min-height: 98px;
  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: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 2px;
}
.targetCard.done .targetDoneBadge {
  display: block;
}

.targetIcon {
  width: 100%;
  aspect-ratio: 1/1;
  border: none;
  border-radius: 0;
  background: transparent;
  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-size: 45%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position: 40% 62%, center center;
}

.targetNum {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 6px;
  line-height: 1;
}

.targetNumValue {
  font-weight: 900;
  color: #ff8b00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: clamp(22px, 6vw, 28px);
}
@media screen and (max-width: 450px) {
  .targetNumValue {
    font-size: clamp(18px, 5vw, 24px);
  }
}

.targetNumUnit {
  font-weight: 900;
  color: #1e5e73;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  font-size: clamp(20px, 3vw, 18px);
}
@media screen and (max-width: 450px) {
  .targetNumUnit {
    font-size: clamp(16px, 2.6vw, 22px);
  }
}

.targetDoneBadge {
  position: absolute;
  top: 36%;
  left: 50%;
  width: 82%;
  display: none;
  -webkit-transform: translateX(-58%);
      -ms-transform: translateX(-58%);
          transform: translateX(-58%);
  z-index: 2;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
}

.modalMask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modalPanel {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 18px;
  padding: 20px 18px;
  width: min(600px, 92vw);
  max-height: min(70vh, 520px);
  overflow: auto;
}

.modalTitle {
  font-size: 20px;
  font-weight: 900;
  color: #667eea;
  margin-bottom: 10px;
}

.modalDesc {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}
.modalDesc p {
  margin: 10px 0;
  max-width: 88%;
}
.modalDesc ul {
  padding-left: 18px;
  margin: 10px 0;
}
.modalDesc li {
  margin: 6px 0;
}

.modalClose {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.06);
  font-size: 16px;
  font-weight: 900;
}
.modalClose:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
.modalClose:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}

@media (prefers-reduced-motion: reduce) {
  .gameContainer.level-entering .js-levelDecor,
  .gameContainer.level-entering .gameBoard,
  .gameContainer.level-entering .targetCard {
    -webkit-animation: none;
            animation: none;
    opacity: 1;
    -webkit-filter: none;
            filter: none;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
}
.candyIndexPage:has(.fillInFormPage) {
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
}

.candyIndexShell:has(.fillInFormPage) {
  min-height: 100dvh;
  height: 100dvh;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 8px 12px 6px;
  overflow: hidden;
}

.fillInFormPage {
  --card-offset-top: clamp(66px, 9vh, 92px);
  --card-bottom-gap: clamp(8px, 1.2vh, 14px);
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 100%;
  margin: 0 auto;
}

.fillInFormHero {
  position: absolute;
  left: 50%;
  top: clamp(-90px, -8.6vh, -62px);
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 2;
  pointer-events: none;
}
.fillInFormHero img {
  display: block;
  width: 100%;
  height: auto;
}

.fillInFormCard {
  position: relative;
  z-index: 1;
  margin-top: var(--card-offset-top);
  height: calc(100% - var(--card-offset-top) - var(--card-bottom-gap));
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: -webkit-gradient(linear, left top, left bottom, from(#cff6fb), color-stop(40%, #ffffff), to(#ffffff));
  background: linear-gradient(to bottom, #cff6fb 0%, #ffffff 40%, #ffffff 100%);
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  -webkit-box-shadow: 0 16px 24px rgba(22, 121, 144, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
          box-shadow: 0 16px 24px rgba(22, 121, 144, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: clamp(66px, 6.8vh, 84px) clamp(16px, 4vw, 28px) clamp(12px, 2vh, 18px);
}

.fillInFormDescription {
  display: block;
  width: min(100%, 300px);
  margin: 10px auto clamp(10px, 1.6vh, 20px);
}

.fillInFormForm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.fillInFormField {
  margin: 0;
  margin-bottom: 20px;
}

.fillInFormField--captcha {
  margin-top: clamp(2px, 0.5vh, 6px);
}

.fillInFormFieldLabel {
  display: block;
  margin-bottom: 6px;
  color: #2b6f95;
  font-size: clamp(17px, 3.8vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.fillInFormInput {
  width: 100%;
  height: clamp(42px, 5.8vh, 54px);
  padding: 6px 12px;
  border: 2px solid #2a6990;
  border-radius: 8px;
  background: #fff;
  color: #1e658d;
  font-size: clamp(16px, 3vw, 20px);
  outline: none;
}
.fillInFormInput:focus {
  -webkit-box-shadow: 0 0 0 3px rgba(47, 120, 163, 0.22);
          box-shadow: 0 0 0 3px rgba(47, 120, 163, 0.22);
}

.fillInFormCaptchaRow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(8px, 1.8vw, 14px);
}
.fillInFormCaptchaRow .fillInFormInput {
  width: min(36%, 180px);
  min-width: 108px;
}

.fillInFormCaptchaImage {
  height: clamp(40px, 5.6vh, 52px);
  width: min(38%, 150px);
  position: relative;
  border-radius: 5px;
  border: 2px solid #b3b8be;
  background: #fff;
  overflow: hidden;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.fillInFormCaptchaImg {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fillInFormCaptchaRefresh {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: clamp(58px, 10vw, 72px);
  height: clamp(34px, 4.8vh, 44px);
  border: 2px solid #2a6990;
  border-radius: 8px;
  background: #ffffff;
  color: #2a6990;
  font-size: clamp(13px, 2.6vw, 16px);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.fillInFormCaptchaRefresh:active {
  -webkit-transform: translateY(1px);
      -ms-transform: translateY(1px);
          transform: translateY(1px);
}

.fillInFormAgreement {
  margin-bottom: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  color: #2b6f95;
  font-size: clamp(16px, 3.2vw, 22px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.fillInFormAgreement input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: clamp(18px, 4vw, 24px);
  aspect-ratio: 1/1;
  border: 2px solid #2a6990;
  border-radius: 3px;
  background: #fff;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  position: relative;
  cursor: pointer;
  margin-top: 5px;
}
.fillInFormAgreement input:checked::after {
  content: "";
  position: absolute;
  left: 29%;
  top: 50%;
  width: 34%;
  height: 58%;
  border: solid #2a6990;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg) translate(-50%, -50%);
}
.fillInFormAgreement a {
  color: #ff8400;
}

.fillInFormSubmit {
  display: block;
  width: clamp(206px, 46%, 286px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
}
.fillInFormSubmit img {
  display: block;
  width: 100%;
  height: auto;
}
.fillInFormSubmit:active {
  -webkit-transform: translateY(1px);
      -ms-transform: translateY(1px);
          transform: translateY(1px);
}

.candyIndexShell:has(.fillInFormPage) .candyIndexFooter {
  margin-top: 6px;
  font-size: clamp(11px, 2.1vw, 13px);
}

@media screen and (max-width: 450px) {
  .fillInFormPage {
    --card-offset-top: clamp(56px, 8vh, 76px);
    --card-bottom-gap: clamp(6px, 1vh, 10px);
  }
  .candyIndexShell:has(.fillInFormPage) {
    padding: 8px 8px 6px;
  }
  .fillInFormHero {
    width: min(100%, 454px);
    top: clamp(-78px, -9vh, -58px);
  }
  .fillInFormCard {
    border-radius: 20px;
    padding: clamp(58px, 8.5vh, 78px) 12px 12px;
  }
  .fillInFormDescription {
    width: min(100%, 304px);
    margin-top: 20px;
    margin-bottom: 8px;
  }
  .fillInFormFieldLabel {
    margin-bottom: 5px;
    font-size: clamp(16px, 4.4vw, 20px);
  }
  .fillInFormInput {
    height: clamp(38px, 5.3vh, 46px);
    font-size: clamp(15px, 3.8vw, 18px);
  }
  .fillInFormCaptchaRow {
    gap: 8px;
  }
  .fillInFormCaptchaImage {
    width: min(38%, 138px);
    height: clamp(38px, 5.1vh, 46px);
  }
  .fillInFormCaptchaRefresh {
    width: clamp(52px, 12vw, 64px);
    height: clamp(32px, 4.6vh, 40px);
    font-size: clamp(12px, 3.4vw, 15px);
  }
  .fillInFormAgreement input {
    width: clamp(20px, 4.2vw, 24px);
    height: clamp(20px, 4.2vw, 24px);
  }
  .fillInFormSubmit {
    width: clamp(178px, 50%, 248px);
  }
}
@media screen and (max-height: 780px) {
  .fillInFormPage {
    --card-offset-top: 52px;
    --card-bottom-gap: 6px;
  }
  .fillInFormHero {
    width: min(80%, 440px);
    top: -58px;
  }
  .fillInFormCard {
    padding-top: 52px;
    padding-bottom: 8px;
  }
  .fillInFormDescription {
    width: min(100%, 240px);
    margin-bottom: 25px;
  }
  .fillInFormFieldLabel {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .fillInFormInput {
    height: 36px;
    font-size: 14px;
    border-width: 2px;
  }
  .fillInFormCaptchaImage {
    height: 36px;
  }
  .fillInFormCaptchaRefresh {
    height: 32px;
    width: 52px;
    font-size: 12px;
  }
  .fillInFormAgreement input {
    width: 18px;
    height: 18px;
  }
  .fillInFormSubmit {
    width: 170px;
  }
  .candyIndexShell:has(.fillInFormPage) .candyIndexFooter {
    margin-top: 3px;
    font-size: 11px;
  }
}
.candyIndexPage:has(.winnerListContainer) {
  min-height: 100vh;
  height: auto;
}

.candyIndexShell:has(.winnerListContainer) {
  min-height: 100vh;
  height: auto;
  grid-template-rows: auto auto auto;
}

.winnerListBox {
  background: -webkit-gradient(linear, left top, left bottom, from(#cbfffe), color-stop(33%, #ffffff), to(#ffffff));
  background: linear-gradient(to bottom, #cbfffe 0%, #ffffff 33%, #ffffff 100%);
  border-radius: 20px;
  padding: 60px 20px 20px;
  margin: -20% auto 20px;
}
@media screen and (max-width: 450px) {
  .winnerListBox {
    padding: 16% 20px 20px;
  }
}

.winnerListHero {
  text-align: center;
  margin-top: -80px;
}
@media screen and (max-width: 767px) {
  .winnerListHero {
    margin-top: -50px;
  }
}

.winningPrizeTitle {
  max-width: 95%;
  margin: 30px auto 20px;
  text-align: center;
  font-size: 2rem;
  line-height: 1.5;
  font-weight: bold;
  color: #2a6990;
}
@media screen and (max-width: 450px) {
  .winningPrizeTitle {
    margin: 10px auto 15px;
    font-size: 1.5rem;
  }
}

.winnerListUl {
  margin-bottom: 10px;
}
.winnerListUl:last-of-type {
  margin-bottom: 0;
}
@media screen and (max-width: 450px) {
  .winnerListUl {
    margin-bottom: 20px;
  }
}
.winnerListUl li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #38d6e4;
  border-radius: 12px;
  background: -webkit-gradient(linear, left top, left bottom, from(#f0f9ff), to(#cbfffe));
  background: linear-gradient(to bottom, #f0f9ff 0%, #cbfffe 100%);
  padding: 20px;
  margin-bottom: 3px;
  color: #2a6990;
  font-size: 1.3rem;
  line-height: 1.25;
}
@media screen and (max-width: 767px) {
  .winnerListUl li {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 450px) {
  .winnerListUl li {
    font-size: 1rem;
  }
}
.winnerListUl li::before {
  content: "";
  width: 30px;
  aspect-ratio: 87/84;
  position: relative;
  background-image: url(../../assets/images/candy/winnerList/star.png);
  background-size: contain;
  margin-right: 10px;
}

.winnerName {
  width: 35%;
}

.winnerMail {
  width: 50%;
  word-break: break-all;
}

.candyIndexPage:has(.activityMethodContainer) {
  min-height: 100vh;
  height: auto;
}

.candyIndexShell:has(.activityMethodContainer) {
  min-height: 100vh;
  height: auto;
  grid-template-rows: auto auto auto;
}

.activityMethodListHero {
  margin-top: -80px;
}
@media screen and (max-width: 767px) {
  .activityMethodListHero {
    margin-top: -50px;
  }
}

.activityMethodBox {
  background: -webkit-gradient(linear, left top, left bottom, from(#cbfffe), color-stop(33%, #ffffff), to(#ffffff));
  background: linear-gradient(to bottom, #cbfffe 0%, #ffffff 33%, #ffffff 100%);
  border-radius: 20px;
  padding: 80px 20px 20px;
  margin: -20% auto 20px;
  color: #2a6990;
}
@media screen and (max-width: 450px) {
  .activityMethodBox {
    padding: 16% 20px 20px;
  }
}
.activityMethodBox p {
  padding-left: 20px;
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.5;
}
@media screen and (max-width: 450px) {
  .activityMethodBox p {
    font-size: 1rem;
  }
}

.activityMethodTitle {
  max-width: 200px;
  margin-bottom: 20px;
}
@media screen and (max-width: 450px) {
  .activityMethodTitle {
    max-width: 150px;
  }
}

.activityMethodTitle.activityMethodTitleSignal {
  max-width: 450px;
}
@media screen and (max-width: 450px) {
  .activityMethodTitle.activityMethodTitleSignal {
    max-width: 320px;
  }
}

.activityMethodUl {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.activityMethodUl li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  margin: 0px 0 12px;
  font-size: 1.2rem;
  line-height: 1.5;
}
.activityMethodUl li a {
  color: #ff8400;
}
.activityMethodUl li a:last-of-type {
  text-decoration: underline;
}
@media screen and (max-width: 450px) {
  .activityMethodUl li {
    font-size: 1rem;
  }
}
.activityMethodUl li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  width: 2.2rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  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: #52e2e0;
  color: white;
  font-weight: bold;
  -webkit-text-stroke: 2px #019fc6;
  -webkit-box-shadow: inset 0 0 0 2px #019fc6;
          box-shadow: inset 0 0 0 2px #019fc6;
}

.directionsLightbox {
  position: fixed;
  inset: 0;
  z-index: 6200;
}
.directionsLightbox .modalMask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}
@media screen and (max-width: 767px) {
  .directionsLightbox .modalMask {
    background: rgba(0, 0, 0, 0.75);
  }
}
.directionsLightbox .modalPanel {
  --lb-pad-top: clamp(52px, 7vw, 72px);
  --lb-pad-x: clamp(10px, 2.4vw, 18px);
  --lb-pad-bottom: clamp(12px, 2.2vw, 18px);
  --lb-body-top: var(--lb-pad-top);
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  border-radius: 24px;
  padding: var(--lb-pad-top) var(--lb-pad-x) var(--lb-pad-bottom);
  border: 0;
  background: transparent;
  overflow: visible;
}
.directionsLightbox__panel::before {
  content: none;
}
.directionsLightbox__cloud, .directionsLightbox__bear, .directionsLightbox__starTop, .directionsLightbox__starBottom, .directionsLightbox__titleImg {
  position: absolute;
  pointer-events: none;
}
.directionsLightbox__cloud {
  left: 50%;
  bottom: calc(100% - var(--lb-body-top));
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: min(470px, 85%);
  z-index: 4;
}
.directionsLightbox__titleImg {
  left: 50%;
  bottom: calc(100% - var(--lb-body-top) + 12px);
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: min(270px, 55%);
  z-index: 6;
}
.directionsLightbox__bear {
  left: -10px;
  bottom: calc(100% - var(--lb-body-top) + 2px);
  width: clamp(96px, 20vw, 140px);
  z-index: 6;
}
.directionsLightbox__starTop {
  left: 20px;
  bottom: calc(100% - var(--lb-body-top) - 30px);
  width: clamp(80px, 18vw, 130px);
  z-index: 7;
}
.directionsLightbox__starBottom {
  right: 20px;
  bottom: 20px;
  width: clamp(65px, 6vw, 90px);
  z-index: 7;
}
.directionsLightbox__close {
  position: absolute;
  right: calc(var(--lb-pad-x) - 18px);
  top: calc(var(--lb-body-top) - 30px);
  width: clamp(52px, 9vw, 66px);
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  line-height: 0;
  background: transparent;
  cursor: pointer;
  z-index: 7;
}
.directionsLightbox__close img {
  width: 100%;
  height: auto;
  display: block;
}
.directionsLightbox__body {
  position: relative;
  z-index: 6;
  min-height: clamp(220px, 28vh, 320px);
  border-radius: 22px;
  border: 7px solid transparent;
  padding: clamp(24px, 3.6vw, 32px) clamp(12px, 3.4vw, 18px) clamp(12px, 2.4vw, 18px);
  display: grid;
  grid-template-columns: minmax(88px, 128px) 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: clamp(15px, 2.2vw, 20px);
  background: radial-gradient(ellipse at center, #ffffff 0%, #45dbf0 100%) padding-box, url("../images/candy/lightbox/border1.png") center/34px 34px repeat border-box;
  -webkit-box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58), 0 6px 14px rgba(15, 109, 142, 0.24);
          box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.58), 0 6px 14px rgba(15, 109, 142, 0.24);
}
.directionsLightbox__body > * {
  position: relative;
  z-index: 1;
}
.directionsLightbox__iconFrame {
  aspect-ratio: 1/1;
  border-radius: 16px;
  border: 4px solid #299ded;
  background: #fffdf5;
  display: grid;
  -webkit-box-shadow: 3px 4px 0 1px #299ded;
          box-shadow: 3px 4px 0 1px #299ded;
  padding: 10px;
  position: relative;
}
.directionsLightbox__iconFrame::before, .directionsLightbox__iconFrame::after {
  content: "";
  position: absolute;
  height: 3px;
  border-radius: 20px;
  background-color: #299ded;
  top: 10px;
}
.directionsLightbox__iconFrame::before {
  width: 10%;
  left: 15%;
}
.directionsLightbox__iconFrame::after {
  width: 55%;
  left: 30%;
}
.directionsLightbox__icon {
  width: 74.07%;
  height: 74.07%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  position: absolute;
  left: 50%;
  top: 52%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.directionsLightbox__content {
  min-width: 0;
}
.directionsLightbox .modalTitle {
  margin: 0 0 4px;
  color: #2a6990;
  font-size: clamp(17px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.directionsLightbox .modalDesc {
  color: #2a6990;
  font-size: clamp(14px, 2.6vw, 28px);
  font-weight: 900;
  line-height: 1.38;
}
.directionsLightbox .modalDesc p {
  margin: 0 0 8px;
}
.directionsLightbox .modalDesc ul {
  margin: 6px 0 0;
  padding-left: 1.25em;
}
.directionsLightbox .modalDesc li {
  margin: 2px 0;
}
.directionsLightbox.is-levelComplete .modalPanel {
  width: min(660px, 95vw);
  padding: 0;
  border-radius: 0;
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.directionsLightbox.is-levelComplete .directionsLightbox__cloud,
.directionsLightbox.is-levelComplete .directionsLightbox__bear,
.directionsLightbox.is-levelComplete .directionsLightbox__starTop,
.directionsLightbox.is-levelComplete .directionsLightbox__starBottom,
.directionsLightbox.is-levelComplete .directionsLightbox__titleImg,
.directionsLightbox.is-levelComplete .directionsLightbox__close,
.directionsLightbox.is-levelComplete .directionsLightbox__body {
  display: none;
}
.directionsLightbox.is-levelComplete .directionsLevelPass {
  display: block;
}
.directionsLightbox.is-levelComplete-last .directionsLevelPass__countdown {
  display: none;
}
.directionsLightbox.is-levelComplete-last .directionsLevelPass__message {
  top: clamp(86px, 13vw, 122px);
}

.directionsLevelPass {
  --pass-bear-w: clamp(160px, 25vw, 200px);
  --pass-bubble-w: clamp(280px, 56vw, 372px);
  display: none;
  position: relative;
  width: min(560px, 92vw);
  min-height: clamp(240px, 38vh, 360px);
  margin: 0 auto;
}
.directionsLevelPass__bubbleBox {
  position: absolute;
  left: 0;
  top: clamp(8px, 1.4vw, 12px);
  width: var(--pass-bubble-w);
}
.directionsLevelPass__bubble {
  width: 100%;
  height: auto;
  display: block;
}
.directionsLevelPass__message {
  position: absolute;
  left: 22%;
  top: 40%;
  width: 62%;
  color: #25567f;
  font-size: clamp(22px, 4.3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.42);
}
.directionsLevelPass__countdown {
  position: absolute;
  left: calc(var(--pass-bubble-w) * 0.18);
  bottom: clamp(16px, 3vh, 28px);
  color: #fff;
  font-size: clamp(22px, 3.6vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.directionsLevelPass__countNum {
  color: #ffd800;
  font-size: 1.45em;
  margin-right: 0.16em;
}
.directionsLevelPass__bear {
  position: absolute;
  right: clamp(-10px, -0.8vw, 6px);
  bottom: 0;
  width: var(--pass-bear-w);
  height: auto;
  display: block;
}

@media screen and (max-width: 767px) {
  .directionsLightbox .modalPanel {
    --lb-pad-top: 30px;
    --lb-pad-x: 8px;
    --lb-pad-bottom: 12px;
    width: min(95vw, 430px);
    border-radius: 20px;
    padding: var(--lb-pad-top) var(--lb-pad-x) var(--lb-pad-bottom);
  }
  .directionsLightbox.is-levelComplete .modalPanel {
    width: min(95vw, 430px);
  }
  .directionsLightbox__cloud {
    width: min(340px, 82%);
  }
  .directionsLightbox__titleImg {
    width: min(212px, 56%);
    bottom: calc(100% - var(--lb-body-top) + 10px);
  }
  .directionsLightbox__bear {
    bottom: calc(100% - var(--lb-body-top) + 1px);
    left: -7px;
    width: clamp(74px, 23vw, 104px);
  }
  .directionsLightbox__starTop {
    bottom: calc(100% - var(--lb-body-top) - 20px);
    left: 4px;
    width: clamp(80px, 16vw, 110px);
  }
  .directionsLightbox__starBottom {
    right: -7px;
    bottom: -10px;
    width: clamp(58px, 14vw, 86px);
  }
  .directionsLightbox__close {
    top: calc(var(--lb-body-top) - 24px);
    right: calc(var(--lb-pad-x) - 10px);
    width: clamp(44px, 12vw, 56px);
  }
  .directionsLightbox__body {
    border-radius: 18px;
    border-width: 6px;
    padding: 19px 9px 9px;
    grid-template-columns: minmax(68px, 88px) 1fr;
    min-height: clamp(160px, 20vh, 192px);
    gap: 15px;
    background: radial-gradient(ellipse at center, #ffffff 0%, #45dbf0 100%) padding-box, url("../images/candy/lightbox/border1.png") center/28px 108px repeat border-box;
  }
  .directionsLightbox__iconFrame {
    border-width: 3px;
    border-radius: 12px;
  }
  .directionsLightbox .modalTitle {
    margin-bottom: 4px;
    font-size: clamp(14px, 4vw, 20px);
    line-height: 1.2;
  }
  .directionsLightbox .modalDesc {
    font-size: clamp(12px, 3.4vw, 16px);
    line-height: 1.35;
  }
  .directionsLevelPass {
    --pass-bear-w: clamp(118px, 33vw, 154px);
    --pass-bubble-w: clamp(236px, 68vw, 306px);
    width: min(95vw, 430px);
    min-height: clamp(210px, 34vh, 292px);
  }
  .directionsLevelPass__bubbleBox {
    top: 8px;
  }
  .directionsLevelPass__message {
    font-size: clamp(18px, 5.1vw, 26px);
  }
  .directionsLevelPass__countdown {
    left: calc(var(--pass-bubble-w) * 0.18);
    bottom: 12px;
    font-size: clamp(17px, 4.4vw, 24px);
  }
  .directionsLevelPass__bear {
    right: -6px;
  }
}
/*# sourceMappingURL=all.css.map */
