@charset "utf-8";

@font-face {
  font-family: 'jf open Huninn';
  src: url('../fonts/jf-openhuninn-21.woff2') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 異步加載，加快頁面渲染 */
}

.pc2 { display:block!important;}
.mobile2 { display:none!important;}

::selection {
    background: #178438;
    color: #fcef00;
}
.link {
    /* 建議將 transform 的預設值寫出來，確保退回時基準明確 */
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
    
    /* 關鍵：過渡效果放在這裡，移入與移開都會生效 */
    transition: transform 0.7s, opacity 0.35s, filter 0.35s;
    
    /* 性能優化 */
    will-change: transform, opacity, filter;
    cursor: pointer;
}
.link:hover {
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
    opacity: 1;
    transition: opacity 0.35s, -webkit-transform 0.7s;
    transition: opacity 0.35s, transform 0.7s;
    transition: opacity 0.35s, transform 0.7s, -webkit-transform 0.7s;
    will-change: opacity, transform;
    -webkit-filter: brightness(1.08);
    cursor: pointer;
}
.link2:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
    transition: opacity 0.35s, -webkit-transform 0.7s;
    transition: opacity 0.35s, transform 0.7s;
    transition: opacity 0.35s, transform 0.7s, -webkit-transform 0.7s;
    will-change: opacity, transform;
   /* filter: drop-shadow(0px 2px 7px rgba(0, 0, 0, 0.6)); */
    cursor: pointer;
}
.link3:hover {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    transition: opacity 0.35s, -webkit-transform 0.7s;
    transition: opacity 0.35s, transform 0.7s;
    transition: opacity 0.35s, transform 0.7s, -webkit-transform 0.7s;
    will-change: opacity, transform;
   
    cursor: pointer;
}
.post-project2 { position: relative;}
.post-project2 > a {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -moz-transition: background-color 0.5s ease, -moz-transform 0.5s ease;
    -webkit-transition: background-color 0.5s ease, -webkit-transform 0.5s ease;
    -ms-transition: background-color 0.5s ease, -ms-transform 0.5s ease;
    transition: background-color 0.5s ease, transform 0.5s ease;
}
.post-project2:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    opacity: 1;
    transition: opacity 0.35s, -webkit-transform 0.7s;
    transition: opacity 0.35s, transform 0.7s;
    transition: opacity 0.35s, transform 0.7s, -webkit-transform 0.7s;
    will-change: opacity, transform;
}

.post-project2 img {
    opacity: 1;
    transition: opacity 0.35s, -webkit-transform 0.7s;
    transition: opacity 0.35s, transform 0.7s;
    transition: opacity 0.35s, transform 0.7s, -webkit-transform 0.7s;
}


.more {
background: #ffffff;
    color: #49a84b;
    text-align: center;
    width: 80px;
    padding: 5px 0px;
    opacity: 1;
    border: 1px #49a84b solid;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    box-shadow: 1px 1px 12px rgba(136, 136, 136, 0.3);
}
.more:hover {
 color: #fff;
    background: #49a84b;
}

.mouse {
    max-width: 30px;
    width: 100%;
    animation: move .9s ease-in-out infinite alternate;
    z-index: 999;
    bottom: 20px;
    left: 50%;
    position: absolute;
    margin-left: -15px;
	-webkit-filter:brightness(.5);
}

@-moz-keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@-webkit-keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@-o-keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

@keyframes move {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(5px);
  }
}

.index-bg { background-image: url(../images/26-bg-0.png?v=3); background-repeat: no-repeat; background-size: 100%; background-position: center top;}
.index-full {min-height: 100vh;position: relative;overflow: hidden;}
#home { background: linear-gradient(to bottom,  #cae9fa 0%,#00afea 86%); }
.menu_li {position: relative;}
.rd-navbar-nav { display: block; width: 100%; text-align: right;}
.logo-li {display: flex; width: 100%;max-width: 600px; gap: 20px;align-items: center;}
.title { position: absolute; width: 100%;max-width: 56%;left: 50%;margin-left: -23%;top: 15%;z-index: 1;}

.stitle {
    color: #000000;
    font-size: 24px;
    font-weight: 800;
    position: absolute;
    width: 100%;
    max-width: 76%;
    margin: 10px auto 0;
    line-height: 1.7;
    background: #bde4f9;
    border-radius: 25px;
    padding: 50px 30px;
    border: 4px #fff solid;
    text-align: center;
    top: 60%;
    z-index: -1;
    left: 50%;
    margin-left: -40%;
   -webkit-text-stroke: 5px #ffffff;
    paint-order: stroke fill;
}
.stitle span {display: inline-block;}
.yell {color: #fcef00;}
.foot-logo { position: absolute;width: 100%;max-width: 350px;bottom: 10px;left: 10px;z-index: 3;}
.enter {
    position: absolute;
    width: 100%;
    max-width: 40%;
    bottom: -40px;
    left: 50%;
    margin-left: -20%;
}
.cloud-1 {position: absolute;width: 100%;max-width: 100px;top: 10%;right: -5%;animation: moveCloud 30s linear infinite;z-index: -1;}
.cloud-2 {position: absolute;width: 100%;max-width: 120px;top: 30%;right: 0;animation: moveCloud 50s linear infinite;z-index: -1;}
.cloud-3 {position: absolute;width: 100%;max-width: 90px;top: 20%;right: 0;animation: moveCloud2 40s linear infinite;z-index: -1;}
@keyframes moveCloud {
  0% {
    right: -7%;
  }
  100% {
    right: 120vw;
  }
}
@keyframes moveCloud2 {
  0% {
    right: -50%;
  }
  100% {
    right: 120vw;
  }
}


#home .fancybox-content {color: #fff;background: rgb(255 249 174 / 95%);border: 5px #00613c solid; border-radius: 20px; padding: 10px;overflow: visible;max-width: 900px;}
.start-box {border-radius: 15px;padding: 20px;}
.start-row { display: flex;width: 100%;justify-content: center;}
.start-title {width: 45%;margin: 0 0 30px;}
.spopup .start-pic {width: 30%;}
.start-pic {width: 40%;}
.start-pic2 {width: 30%;}
.start-foot {font-size: 22px;font-weight: 700;line-height: 1.5;color: #000;}
.start-foot ul{padding-left: 40px;}
.start-foot ul li{position: relative;margin-bottom: 15px;   -webkit-text-stroke: 0px #ffffff;paint-order: stroke fill;}
.start-foot ul div {background: #ffffff;width: 35px; display: block;position: absolute; text-align: center; line-height: 31px; border-radius: 90%; left: -40px; top: 1px; color: #ea5533; border: 2px #ea5533 solid;}
.fancybox-slide--html .fancybox-close-small {background: #000;border-radius:0 8px 0 18px;}
.enter2 {color: #ea5533;width: 100%; max-width: 340px; position: absolute; left: calc(50% - 170px); bottom: -7%; background: #fff; text-align: center; border: 4px #ea5533 solid; border-radius: 12px; padding: 6px; font-size: 29px; font-weight: 800;}
.enter2:hover,.enter2:hover, .enter2:focus {color: #ea5533!important;}

*{box-sizing:border-box;margin:0;padding:0;}
.game-full{width:100vw;height:100vh;overflow:hidden;position:relative;cursor:grab;}
.slider{display:flex;height:100%;will-change:transform;}
.scene{position:relative;flex:none;height:100%;}
.bg{height:100%;width:auto;display:block;pointer-events:none;user-select:none;}

.link3 img {animation: glowPulse 1.5s infinite ease-in-out;-webkit-animation: glowPulse 1.5s infinite ease-in-out;}
@keyframes glowPulse {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}



.game-cloud-1,
.game-cloud-2,
.game-cloud-3,
.game-cloud-4 {
  position: absolute;
  left: 100%;
  z-index: -1;
  pointer-events: none;
  will-change: left;
  animation-name: gameCloudLoop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.game-cloud-1 img,
.game-cloud-2 img,
.game-cloud-3 img,
.game-cloud-4 img {
  display: block;
  width: 100%;
  height: auto;
}
.game-cloud-1 {
  --cloud-end: -12%;
  width: 11%;
  top: 2%;
  animation-duration: 95s;
  animation-delay: 0s;
}
.game-cloud-2 {
  --cloud-end: -1%;
  width: 6%;
  top: 10%;
  animation-duration: 42s;
  animation-delay: -12s;
}
.game-cloud-3 {
  --cloud-end: -21%;
  width: 10%;
  top: 6%;
  animation-duration: 68s;
  animation-delay: -35s;
}
.game-cloud-4 {
  --cloud-end: -41%;
  width: 12%;
  top: 12%;
  animation-duration: 54s;
  animation-delay: -20s;
}

@keyframes gameCloudLoop {
  0%   { left: 100%; }
  100% { left: var(--cloud-end); }
}

/* ❷ 新增：當 body 擁有 .paused 時全部停住 */
body.paused .game-cloud-1,
body.paused .game-cloud-2,
body.paused .game-cloud-3,
body.paused .game-cloud-4,
body.paused .scene img,
body.paused .scene1-icon1 img{
  animation-play-state: paused;
}

.game-topic-hold {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  pointer-events: none;
}
.game-topic-hold__btn {
  pointer-events: auto;
  min-width: 112px;
  padding: 8px 22px;
  border: 4px #ea5533 solid;
  border-radius: 12px;
  background: #fff;
  color: #ea5533;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.game-topic-hold__btn:hover,
.game-topic-hold__btn:focus {
  color: #ea5533;
  outline: none;
}
.game-topic-hold.is-paused .game-topic-hold__btn {
  background: #ea5533;
  color: #fff;
}
.game-topic-hold.is-paused .game-topic-hold__btn:hover,
.game-topic-hold.is-paused .game-topic-hold__btn:focus {
  color: #fff;
}
.game-topic-hold__ring {
  width: 46px;
  height: 46px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}
.game-topic-hold__track {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 5;
}
.game-topic-hold__progress {
  stroke: #f3d14b;
  stroke-width: 5;
  stroke-linecap: round;
  transition: none;
}
.game-topic-hold.is-paused .game-topic-hold__progress {
  stroke: #ea5533;
}
.game-topic-hold.is-paused .game-topic-hold__ring {
  opacity: 0.35;
}
.game-cloud-1,
.game-cloud-2,
.game-cloud-3,
.game-cloud-4{
  animation-play-state: running;   /* 預設跑動 */
}
.confirm-box {display: flex;width: 100%;position: relative;}
.confirm-msg {width: 80%;}
.confirm-pic {display: flex;flex-direction: column;justify-content: flex-end; position: relative;}
#game .fancybox-bg {/* background: rgb(255 255 255 / 87%);*/ background: none;}
#game .fancybox-content {width: 900px;border: 30px #fff solid;padding: 0;background: rgb(255 255 255 / 65%);}
.enter3 {width: 100%;max-width: 80%;margin: auto;display: block;}
#mask {
  position: fixed;
  inset: 0;
  opacity: 0;
  transition: opacity .25s ease;  /* 可選：若想即時，移除或縮短 */
  pointer-events: none;
  z-index: 9998;
  background: rgba(0, 0, 0, .65);  /* 直接設在 #mask 上 */
}
#mask.show {opacity: 1;}
.mag-info {position: absolute;font-size: 15px;line-height: 1.5;background: #f3d14b; color: #000000; padding: 15px; top: 0; border-radius: 15px; text-align: justify;}
.info-icon {position: absolute;width: 100%;max-width: 35px;top: -4px;left: -8px;}
.mag-info2 {display: none;}


.pass-box {}
#pass .confirm-box { border: 3px #fff solid;border-radius: 15px; padding: 20px 20px 0;}
.pass-pic {width: 22%;display: flex;align-items: flex-end;}
.pass-msg {width: 80%;}
#pass {color: #fff;background: #8cc63f!important;border: 4px #000 solid!important; border-radius: 20px!important; padding: 10px!important; overflow: visible!important;}
.pass-li {display: flex;gap: 20px;}
.pass-text {font-size: 22px; margin: 20px 0 10px;line-height: 1.5;font-weight: 700;text-align: justify;}
.pass-text ul {display: flex;margin-top: 20px;list-style:none;padding: 0;font-size: 20px;}
.pass-text ul li{list-style: none;display: list-item; margin-left: 20px;position: relative;}
.pass-text ul li::before{content: "•"; position: absolute; left: -14px; top: 1px; color: #f3d14b; font-size: 30px; line-height: 1;}
.pass-foot {position: absolute;bottom: -34%;display: flex; width: 100%;left: -2%;}
.pass-link {width: 100%;}
.act-box {text-align: justify;}
.act-title {font-size: 34px;border: 1px #fcef00 solid; display: inline-block;line-height: 1.5;margin-bottom: 11px;font-weight: bold;color: #000;-webkit-text-stroke: 6px #ffffff; paint-order: stroke fill;text-align: center;width: 100%;}
.act-text { color: #000; background: rgb(255 255 255 / 56%); padding: 20px; border-radius: 20px; border: 4px #00613c solid;}
.act-text ul{padding-left: 24px;}
.act-text ul li{list-style: decimal;display: list-item;}
#act { width: 900px;}
.act-body {}
.act-li {}
.act-box:last-child {margin-top: 45px;}
.act-text span {color: #00613c;font-weight: 800;}
.popup-box {padding: 40px!important;}
.popup-box h2{color: #000; -webkit-text-stroke: 10px #ffffff; paint-order: stroke fill;font-weight: 700;}
.popup-box p { text-align: center;}



.toggle-original-elements ul{display: flex;flex-direction: row;justify-content: flex-end; gap: 20px;}
.info-body {display: flex; align-items: flex-start; gap: 20px;justify-content: center;}
.info-body2 {display: flex; align-items: flex-start; gap: 20px;justify-content: center;}
.start-row2 {padding: 30px 0;width: 100%;}
.red {color: #fb2d00;}
.stitle div {font-size: 40px;font-weight: 800;}
.logo-1 { width: 40%;}
.logo-2 {width: 30%;}
.logo-3 {width: 43%;}
.logo-4 {}
.game-scene-bg {background: linear-gradient(to bottom,  #51b9ea 0%,#c4e6f9 100%);}
.game-scene-bg2 {background: linear-gradient(to bottom,  #2d7fc3 0%,#56c1ef 100%)!important; }
.game-scene-1 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-1 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene1.svg?v=2);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}
.game-scene-2 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-2 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene2.svg?v=2);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}
.game-scene-3 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-3 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene3.jpg?v=5);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}
.game-scene-4 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-4 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene3.jpg?v=5);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}
.game-scene-5 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-5 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene4.jpg?v=5);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}

.game-scene-6 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-6 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene5.png?v=2);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}
.game-scene-7 {
    --scene-design-w: 1894.13;
    --scene-design-h: 1050.63;
    overflow: hidden;
    height: 100vh;
    position: relative;
}
.game-scene-7 .scene {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max(100vw, calc(100vh * var(--scene-design-w) / var(--scene-design-h)));
    height: max(100vh, calc(100vw * var(--scene-design-h) / var(--scene-design-w)));
    aspect-ratio: var(--scene-design-w) / var(--scene-design-h);
    background-image: url(../images/scene6.png?v=5);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center bottom;
}
.scene1 {overflow: hidden;height: 100vh;}
.scene1-icon1 {
    position: absolute;
    z-index: 2;
    top: 40%;
    left: 50%;
    width: 8%;
    height: auto;
    margin-left: -31%;
}
.wscene1-icon1 img {
    display: block;
    width: 100%;
    height: auto;
    animation: scene1IconGlow 1s ease-in-out 4 forwards;
    -webkit-animation: scene1IconGlow 1s ease-in-out 4 forwards;
}
@keyframes scene1IconGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(255, 220, 80, 0));
    }
    50% {
        filter: brightness(1.35) drop-shadow(0 0 14px rgba(255, 235, 120, 0.95)) drop-shadow(0 0 28px rgba(255, 200, 60, 0.6));
    }
}
@-webkit-keyframes scene1IconGlow {
    0%, 100% {
        -webkit-filter: brightness(1) drop-shadow(0 0 0 rgba(255, 220, 80, 0));
    }
    50% {
        -webkit-filter: brightness(1.35) drop-shadow(0 0 14px rgba(255, 235, 120, 0.95)) drop-shadow(0 0 28px rgba(255, 200, 60, 0.6));
    }
}
.topic-title {color: #000;font-size: 32px;line-height: 1.5;margin-bottom: 20px; -webkit-text-stroke: 6px #ffffff; paint-order: stroke fill; font-weight: 800;}
.topic-box {}
.choose {
    background: #fff;
    margin-bottom: 10px;
    padding: 0 10px 0 0;
    border: 1px #000 solid;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    gap: 20px;
    align-items: center;
    overflow: hidden;
}
.choose:hover {background: #e50000;color: #fffd00;}
.choose.is-wrong {
    cursor: default;
    opacity: 0.85;
    position: relative;
}
.choose.is-wrong:hover {background: #fff;color: inherit;}
.choose.is-correct,
.choose.is-correct:hover {
    background: #e50000;
    color: #fffd00;
    cursor: default;
}
.choose .wrong-mark,
.choose .correct-mark {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0 12px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.choose .wrong-mark {
    color: #e50000;
}
.choose .correct-mark {
    color: #fffd00;
}
.start-foot span {-webkit-text-stroke: 0px #ffffff; paint-order: stroke fill;}
.topic-title2 {
    color: #00613c;
    font-size: 46px;
    line-height: 1.5;
    margin-bottom: 25px;
    -webkit-text-stroke: 6px #ffffff;
    paint-order: stroke fill;
    font-weight: 500;
}
.topic-title2 span {display: inline-block;}
.pass-text1 {font-size: 24px!important;}
.enter1 {color: #ea5533;width: 100%;max-width: 240px;position: absolute;left: calc(50% - 120px);bottom: -7%;}
.game2-icon1 {position: absolute;bottom: 25px; left: 0;width: 100%;z-index: 2;}
.game2-icon2 {position: absolute;z-index: 1; bottom: 23%; left: 25%; width: 9%;}
.game2-icon3 {position: absolute; z-index: 3; bottom: 2%; left: 31%;width: 12%;}
.game3-icon1 {position: absolute;z-index: 2;top: 50%;left: 50%;width: 8%;height: auto;margin-left: -31%;}
.game4-icon1 {position: absolute;z-index: 2; top: 32%;left: 50%;width: 16%;height: auto;margin-left: -25.3%;}
.game5-icon1 {position: absolute;z-index: 2;top: 32%;left: 50%;width: 16%;height: auto;margin-left: 21%;}
.shadow-1 {
    position: absolute;
    z-index: -1;
    bottom: 2%;
    width: 85%;
    background: rgb(0 0 0 / 34%);
    border-radius: 90%;
    height: 8%;
    display: block;
    left: 50%;
    margin-left: -44%;
}


.scene1-icon1 img,.game2-icon2 img ,.game2-icon3 img,.game3-icon1 img,.game4-icon1 img,.game5-icon1 img ,.game6-icon1 img,.game6-icon2 img,.game7-icon1 img,.game8-icon2 img,.game9-icon1 img ,.game9-icon2 img{
    display: block;
    width: 100%;
    height: auto;
    /* 同時套用發光 (播放4次) 和 Bounce (無限次) */
    animation: 
        scene1IconGlow2 1s ease-in-out 4 forwards,
        scene1IconBounce2 1.2s ease-in-out 4 forwards;
    -webkit-animation: 
        scene1IconGlow2 1s ease-in-out 4 forwards,
        scene1IconBounce2 1.2s ease-in-out 4 forwards;
}

/* 原本的發光動畫保持不變 */
@keyframes scene1IconGlow2 {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(255, 220, 80, 0));
    }
    50% {
        filter: brightness(1.35) drop-shadow(0 0 14px rgba(255, 235, 120, 0.95)) drop-shadow(0 0 28px rgba(255, 200, 60, 0.6));
    }
}

/* 新增獨立的跳動動畫 */
@keyframes scene1IconBounce2 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.choose div { color: #ffd504; background: #000; height: 100%; display: flex;min-height: 100px;align-items: center;padding: 0 10px;}
.game5-icon2 {position: absolute;left: -31px; bottom: 0; width: 100%;background-image: url(../images/game5-icon2.png);background-repeat: no-repeat; background-size: cover; background-position: center center;height: 100%;}
.game6-icon1 {position: absolute; z-index: 1; top: 40%; left: 50%; width: 11%; height: auto; margin-left: -14%;}
.game6-icon2 {position: absolute;z-index: 1;top: 42%;left: 50%;width: 10%;height: auto;margin-left: 4%;}
.game6-bg1 {position: absolute;width: 14%; left: 50%; margin-left: -22.6%; top: 36.2%; z-index: 2;}
.game6-bg2 {position: absolute;width: 16.3%; left: 50%;margin-left: 9%; top: -2%; z-index: 2;}
.game7-icon1 {position: absolute; z-index: 1; top: 43%; left: 50%; width: 5%; height: auto; margin-left: -3%;}
.game8-icon1 {position: absolute;z-index: 1; top: 40%; left: 50%; width: 13%; height: auto; margin-left: -28%;}
.game8-icon2 {position: absolute; z-index: 1; top: 54%; left: 50%; width: 6%; height: auto; margin-left: 7%;}
.game9-icon1 {position: absolute;z-index: 1;top: 59%;left: 50%;width: 13%;height: auto;margin-left: -19%;}
.game9-icon2 {position: absolute;z-index: 1;top: 55%;left: 50%;width: 6%;height: auto;margin-left: 3%;}
.car {position: absolute; width: 24%;left: 50%;margin-left: 6.2%; z-index: 2; top: 46%;}
.enter3 {
    color: #ea5533;
    width: 100%;
    background: #fff;
    text-align: center;
    border: 4px #ea5533 solid;
    border-radius: 12px;
    padding: 6px;
    font-size: 28px;
    font-weight: 800;
}
.enter3:hover,.enter3:hover, .enter3:focus {color: #ea5533!important;}
.finish-foot {display: flex;gap: 10px; width: 65%;margin: auto;}

/* 問卷 */
.survey-bg {background-image: url(../images/26-bg-0.png?v=2); background-repeat: no-repeat; background-size: 100%; background-position: center bottom;}
#survey .fancybox-content {
    color: #000;
    background: rgb(255 249 174 / 95%);
    border: 5px #00613c solid;
    border-radius: 20px;
    padding: 16px 20px;
    max-width: 720px;
    width: 92%;

}
.survey-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #00613c;
    margin-bottom: 16px;
        border-bottom: 3px #1dc04e dotted;
}
.survey-txt h4 {
    font-size: 24px;
    font-weight: 800;
    margin: 18px 0 8px;
    line-height: 1.4;
    color: #00613c;
}
.survey-txt ul {
    list-style: none;
    padding: 0 0 0 30px;
    margin: 0 0 30px;
}
.survey-txt li {
    margin-bottom: 6px;
    line-height: 1.45;
}
.survey-txt label {
display: flex;
    gap: 8px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}
.survey-txt input[type="radio"],
.survey-txt input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}
.error-foot {
    text-align: center;
    margin-top: 20px;
}
.error-foot .link,
.error-foot input.link {
    display: inline-block;
    color: #ea5533;
    background: #fff;
    border: 4px #ea5533 solid;
    border-radius: 12px;
    padding: 6px 28px;
    font-size: 22px;
    font-weight: 800;
}
.error-box h2 {
    text-align: center;
    color: #178438;
    font-weight: 800;
    margin-bottom: 12px;
}
.error-box .blue {
    color: #000000;
    margin: 12px 0 6px;
    font-weight: 900;
    font-size: 28px;
}
.error-line {height: 1px; background: rgba(0,0,0,.15); margin: 12px 0;}
.lottery-box h3 {font-size: 30px; line-height: 1.5; font-weight: 800; color: #00613c;}
.survey-title2 {
text-align: center;
    font-size: 50px;
    font-weight: 800;
    color: #fcef01;
    margin-bottom: 16px;
    -webkit-text-stroke: 10px #00613c;
    paint-order: stroke fill;
    letter-spacing: 3px;
}
.survey-body {
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px #00613c solid;
}
.error-box {
        padding: 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px #00613c solid;
}
.utaggo {
width: 100%;
    max-width: 18%;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%); /* 順便優化水平居中，取代 margin-left: -9% */
    top: 10px; /* 永遠保持在視窗高度的 18% 位置 */
}



@media only screen and (max-width: 1680px) {
    

}

@media only screen and (max-width: 1440px) {
   
    

}
    
@media only screen and (max-width: 1366px) {
    .title {top: 15%;}
    .foot-logo {max-width: 18%;}
.stitle {font-size: 20px;}
 .utaggo {top: 0px;}


    
}


@media only screen and (max-width: 1280px) {


    
    
}
@media only screen and (max-width: 1210px){
.stitle {font-size: 18px;}
}


@media only screen and (max-width: 1200px){	
  
}

@media only screen and (max-width: 1199px) {

   .logo-1, .logo-2 {width: initial;}
}



@media only screen and (max-width: 1024px) {

	.mouse {
    max-width: 20px;
    width: 100%;
    animation: move .9s ease-in-out infinite alternate;
    z-index: 999;
    bottom: -1px;
    left: 50%;
    position: absolute;
    margin-left: -10px;
    -webkit-filter: brightness(.5);
}
    
    .title {max-width: 80%;margin-left: -40%;top: 11%;}
    .index-bg {background-position: center bottom;}
    .logo-3 {width: initial;}
}





@media only screen and (max-width: 990px){

}




@media only screen and (max-width: 768px) {
    .game-cloud-1 { --cloud-end: -14%; width: 13%; top: 2%; }
    .game-cloud-2 { --cloud-end: -8%; width: 7%; top: 10%; }
    .game-cloud-3 { --cloud-end: -13%; width: 12%; top: 6%; }
    .game-cloud-4 { --cloud-end: -15%; width: 14%; top: 12%; }
    .pc2 { display:none!important;}
    .mobile2 { display: inherit!important;}
    .title { max-width: 98%;margin-left: -49%;top: 16%;}

    .start-foot {font-size: 20px;}
    .start-foot ul span {top: 0px;}
    .start-foot ul li {margin-bottom: 5px;}
    #con4 .confirm-pic {width: 40%;}
    .mag-info {position: relative;}
  #home .fancybox-content {max-width: 100%;}
    

    
    
    
	
}

@media only screen and (max-width: 767px) {
      .col-xxs-6 { flex: 0 0 50%;max-width: 50%; }
    .game-scene-1 .scene {transform: translateX(-22%);}
    .game-scene-2 .scene {transform: translateX(-39%);}
    .game-scene-3 .scene {transform: translateX(-27%);}
    .game-scene-4 .scene {transform: translateX(-78%);}
    .game-scene-6 .scene {transform: translateX(-52%);}
    .game-scene-7 .scene {transform: translateX(-52%);}
    .game-topic-hold {bottom: 18px; gap: 10px;}
    .game-topic-hold__btn {min-width: 96px; font-size: 22px; padding: 6px 16px;}
    .game-topic-hold__ring {width: 38px; height: 38px;}
    
    
    
}


@media only screen and (max-width: 480px) {
    .game-cloud-1 { --cloud-end: -16%; width: 26%%; top: 3%; }
    .game-cloud-2 { --cloud-end: -9%; width: 12%; top: 11%; }
    .game-cloud-3 { --cloud-end: -15%; width: 20%; top: 7%; }
    .game-cloud-4 { --cloud-end: -17%; width: 22%; top: 13%; }

    .foot-logo {max-width: 40%;bottom: 2px;left: 2px;}

    .cloud-1 {max-width: 60px;top: 22%;animation: moveCloud 15s linear infinite;}
    .cloud-2 {max-width: 90px;top: 6%;animation: moveCloud 45s linear infinite;}
    .cloud-3 {max-width: 110px;top: 62%;animation: moveCloud2 30s linear infinite;}
    @keyframes moveCloud {
        0% {
    right: -7%;
  }
  100% {
    right: 110vw;
  }
}
@keyframes moveCloud2 {
  0% {
    right: -40%;
  }
  100% {
    right: 110vw;
  }
}


    .start-foot {font-size: 16px;display: contents;}
    .start-foot ul span {width: 24px;line-height: 24px;left: -31px;top: -1px;}
    #game .fancybox-content {border: 10px #fff solid;}
.confirm-msg {
        width: 85%;
        order: 1;
        position: relative;
            right: -14%;}
    .confirm-pic {
        width: 42%;
        order: 2;
        position: absolute;
        z-index: 0;
        bottom: 0;
        left: -8%;
    }
    .confirm-box {display: grid;}
    #con2 .confirm-pic {bottom: -9%;left: -14%;}
    .mag-info {display: none;}
    .mag-info2 {font-size: 12px;line-height: 1.5;background: #f3d14b; color: #000000; padding: 15px; top: 0; border-radius: 15px; text-align: justify; display: block;}
    .pass-text {font-size: 16px;}
    .pass-text ul {font-size: 14px;}
    .pass-text ul li::before {top: -4px;}
    .pass-foot {bottom: 0;display: block;width: 60%;left: 50%;margin-left: -30%;position: relative;}
    .pass-li {display: grid;}
    .pass-pic {order: 2;position: absolute; right: 1%;bottom: 0;width: 20%;}
    .pass-msg {order: 1;width: 100%;}
    .pass-text ul {display: block;}
    .logo-li {max-width: 75%!important;gap: 10px; }
    /* .rd-navbar-fixed .rd-navbar-brand {flex-wrap: inherit;} */
    .stitle {font-size: 15px;padding: 50px 10px;margin-left: -45%;max-width: 90%;}
    .enter {max-width: 60%;bottom: -10%;margin-left: -30%;}
    .start-title {width: 70%; margin: 0 0 20px;}
    .start-pic { width: 50%;}
    .start-pic2 { width: 50%;}
    .start-foot ul li {font-size: 14px;}
    .info-body {align-items: center; gap: 0px;flex-direction: column-reverse;}
    .start-foot ul div { width: 28px;line-height: 24px;top: -2px;}
    .topic-title {font-size: 24px;}
    .choose {gap: 10px;font-size: 15px;}
    .index-body .info-body {flex-direction: row !important;}
    .topic-title2 {font-size: 24px;}
    .pass-text1 {font-size: 15px !important;}
    .enter2 {max-width: 240px;left: calc(50% - 120px);font-size: 24px;}
    .info-body2 {align-items: center;}
    .game2-icon1 {left: 1%;width: 100%;}
    .game9-icon1 {margin-left: -13%;}
    .game8-icon1 {margin-left: -14%;}
   .finish-foot {width: 100%;flex-direction: column;}
    .enter3 {font-size: 24px;}
    .survey-title {font-size: 24px;}
    .survey-txt h4 {font-size: 16px;}
    .survey-txt label {font-size: 14px;}
    .error-foot .link,
    .error-foot input.link {font-size: 18px; padding: 6px 18px;}
    .index-bg {background-position: center bottom;}
    .logo-1 {width: 20%!important; }
    .logo-2 {width: 17%!important; }
    .logo-3 {width: 23%!important; }
    .logo-4 {width: 27%!important; }
    .stitle div {font-size: 34px;}

    
}




@media only screen and (max-width: 428px) {

}


@media only screen and (max-width: 414px) {

    
    
}

@media only screen and (max-width: 390px) {
    
}

@media only screen and (max-width: 375px) {
    
}

@media only screen and (max-width: 360px) {

}


@media only screen and (max-width: 768px) and (orientation: landscape) {
  /* 橫向時的樣式 */
    .index-full {min-height: 200vh;}

    .start-foot {width: 100%;font-size: 18px;}
    .start-foot ul span {top: -3px;}
    .start-row {max-width: 400px;}

}