@charset "UTF-8";
html,
body,
#main {
  color: #000000;
  overflow-x: hidden;
  min-width: auto !important;
}

.color-red {
  color: #ff2600 !important;
}

:root {
  --outline-color: #020202;
  --outline-width: 0.08em;
}

#header {
  background: transparent;
  filter: drop-shadow(0 0.05em 0.05em rgba(0, 0, 0, 0.45));
}
#header .nav {
  max-width: 16.66667em;
}
#header .nav-logoLink {
  width: 7em;
  height: 1em;
  border-radius: 0;
}
#header .nav-logoLink img {
  display: none;
}
#header {
  /* box-shadow:inset 0 -.05em .025em rgba(#fff,.2), 0 .1em .2em rgba(#000,.5);*/
}

#footer {
  background: transparent;
}
#footer .foot-wanin {
  background-image: url("/img/event/common/foot-wanin-gray.png?v=01");
}

*:focus-visible {
  outline: auto;
  outline-offset: 0.1em;
}

[data-device=mobile] .only-pc,
[data-device=pc] .only-mobile {
  display: none;
}

[data-login=true] .only-logout,
:root:not([data-login=true]) .only-login {
  display: none;
}

.bg-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  z-index: -5;
  width: 32em;
  margin: 0 auto;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.bg-area img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

#article .banner {
  position: relative;
  display: block;
}

#main .c-btn.btn-normal {
  height: 2em;
  min-width: 10em;
  margin-top: 1em;
}
@media (max-width: 767px) {
  #main .c-btn.btn-normal {
    font-size: 0.6em;
  }
}

#main .btn {
  font: inherit;
  font-size: 1em;
  font-family: "Noto Serif TC", "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.2;
  display: flex;
  vertical-align: bottom;
  text-align: center;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0.05em 0.1em rgba(40, 20, 10, 0.5), 0 0.05em 0.25em rgb(40, 20, 10);
  padding: 0em 0;
  margin: 0.25em 0;
  width: -moz-max-content;
  width: max-content;
  max-width: 72%;
  border: none;
  border-radius: 0;
  transition: filter 0.1s;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}
#main .btn .hover-img {
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
#main .btn img {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  transition: none;
  opacity: 1;
}
#main .btn img:nth-child(2) {
  opacity: 0;
  z-index: 5;
}
#main .btn.active img:nth-child(1), #main .btn:active img:nth-child(1), #main .btn:hover img:nth-child(1) {
  opacity: 0;
}
#main .btn.active img:nth-child(2), #main .btn:active img:nth-child(2), #main .btn:hover img:nth-child(2) {
  opacity: 1;
}

#main .btn-goGame {
  position: absolute;
  right: 4%;
  top: 10%;
  width: 14%;
}
#main .btn-goGame.pos-2 {
  top: 7%;
}
#main .btn-openGame {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30.5%;
  margin: auto;
  width: 70%;
}

/*===================*/
/* MAIN PAGE CONTENT */
.sr-only {
  position: fixed;
  top: -9in;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

/*==============*/
/* PAGE CONTENT */
#main {
  color: #fff;
  overflow: hidden;
}
#main img {
  max-width: 100%;
}
#main .content {
  position: relative;
  width: 96%;
  max-width: 960px;
  margin: 0 auto;
}
#main .content p,
#main .content ul,
#main .content ol {
  font-size: 0.45em;
  font-size: clamp(13.5px, 0.45em, 36px);
  margin: 0.25em 0;
}
#main .content ul,
#main .content ol {
  padding-inline-start: 1em;
}
#main .content strong {
  font-weight: 700;
}
#main .content b {
  display: inline-block;
  font-weight: inherit;
}
#main .content a {
  text-underline-offset: 0.18em;
}
#main .content hr {
  font-size: 0.5em;
  font-size: clamp(14px, 0.5em, 30px);
  border: none;
  border-top: 1px solid #888;
  margin: 0.25em 0;
}
#main .head-title {
  display: block;
  position: relative;
  top: 0;
  width: 100%;
  left: 0;
  padding: 1.8em 0 0;
}
#main .border,
#main .border2,
#main .border3 {
  position: relative;
  display: block;
  z-index: 0;
  font-weight: 400;
  margin: 0.75em auto 1.5em;
  padding: 1.25em 0.35em 0.25em 0.35em;
  border-radius: 0.65em;
  --outline-width: 0.12em;
  scroll-margin: 1em;
}
#main .border::before,
#main .border2::before,
#main .border3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  -o-border-image: url("/img/Event/202607-Smart3c/border.png?v=01") 99 6 6 6 fill/1.5em 0.1em 0.1em 0.1em/0.1em;
     border-image: url("/img/Event/202607-Smart3c/border.png?v=01") 99 6 6 6 fill/1.5em 0.1em 0.1em 0.1em/0.1em;
  border-image-source: image-set(url("/img/Event/202607-Smart3c/border.png?v=01") type("image/png"));
  pointer-events: none;
}
#main .border2::before {
  -o-border-image: url("/img/Event/202607-Smart3c/border4.png?v=01") 99 6 6 6 fill/1.5em 0.1em 0.1em 0.1em/0.1em;
     border-image: url("/img/Event/202607-Smart3c/border4.png?v=01") 99 6 6 6 fill/1.5em 0.1em 0.1em 0.1em/0.1em;
  border-image-source: image-set(url("/img/Event/202607-Smart3c/border4.png?v=01") type("image/png"));
}
#main .border3::before {
  -o-border-image: url("/img/Event/202607-Smart3c/border5.png?v=01") 99 6 6 6 fill/1.5em 0.1em 0.1em 0.1em/0.1em;
     border-image: url("/img/Event/202607-Smart3c/border5.png?v=01") 99 6 6 6 fill/1.5em 0.1em 0.1em 0.1em/0.1em;
  border-image-source: image-set(url("/img/Event/202607-Smart3c/border5.png?v=01") type("image/png"));
}
#main .title {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 13em;
  height: auto;
  max-width: 100%;
  padding: 0;
  position: absolute;
  top: -1em;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 2;
}
#main .title img {
  width: 85%;
  display: inline-block;
  margin: 0;
}
#main .title.type2 img {
  width: 71%;
}
#main .prize-group {
  display: flex;
  align-items: center;
  justify-content: center;
}
#main .prize-group > * {
  margin: 0.5em 0;
}
#main .prize-group img {
  flex: 0 0 auto;
  margin: -0.2em -0.25em;
}
#main .img-box img {
  transition: filter 0.2s, transform 0.2s;
}
#main .img-box:hover img {
  filter: brightness(1.2) drop-shadow(0 0 5px #ff0);
}
#main .prize-img {
  position: relative;
  margin: 0 auto;
  width: -moz-max-content;
  width: max-content;
  flex-shrink: 1;
}
#main .box {
  position: relative;
  border-radius: 2em;
  -o-border-image: url("/img/Event/202607-Smart3c/border2.png?v=01") 119 fill/2em/0.35em 0;
     border-image: url("/img/Event/202607-Smart3c/border2.png?v=01") 119 fill/2em/0.35em 0;
  margin: 0.5em 0 0.5em;
  min-height: 3em;
}
#main .box2 {
  display: block;
  position: relative;
  padding: 0.25em 0.25em;
  margin: 0.5em 0;
  border-radius: 2em;
  border: 0.1em solid #ffd69f;
  background: rgba(85, 24, 0, 0.4);
}
#main .font-serif {
  font-family: "Noto Serif TC", serif;
}
#main .font-display {
  font-family: "MStif", "Heiti TC", "Microsoft JhengHei", Verdana, display;
}
#main .text-hilight {
  color: #efcf9d;
}
#main .text-yellow {
  color: #00ffd8;
}
#main .text-red {
  color: #ff7373;
}
#main .text-green {
  color: #3fd432;
}
#main .text-blue {
  color: #6ecdff;
}
#main .text-gray {
  color: #515151;
}
#main .text-big {
  font-size: larger;
}
#main .text-small {
  font-size: smaller;
}
#main .text-center {
  text-align: center;
}
#main .text-outline {
  letter-spacing: normal;
  text-shadow: calc(0.7 * var(--outline-width)) calc(0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(0.7 * var(--outline-width)) calc(-0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(-0.7 * var(--outline-width)) calc(0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(-0.7 * var(--outline-width)) calc(-0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(1 * var(--outline-width)) 0 calc(0.25 * var(--outline-width)) var(--outline-color), calc(-1 * var(--outline-width)) 0 calc(0.25 * var(--outline-width)) var(--outline-color), 0 calc(1 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), 0 calc(-1 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(0.9 * var(--outline-width)) calc(0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.9 * var(--outline-width)) calc(-0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.9 * var(--outline-width)) calc(0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.9 * var(--outline-width)) calc(-0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.4 * var(--outline-width)) calc(0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.4 * var(--outline-width)) calc(-0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.4 * var(--outline-width)) calc(0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.4 * var(--outline-width)) calc(-0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  #main [text-stroke] {
    color: transparent;
    text-shadow: none;
    display: inline-block;
    position: relative;
    background: linear-gradient(#000, #000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0.05em transparent;
    filter: drop-shadow(0 0.05em 0.05em #000);
  }
  #main [text-stroke]::before {
    content: attr(text-stroke);
    position: absolute;
    z-index: 1;
    background: linear-gradient(#ffeeb7 10%, #ffc300 60%, #fe9600 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0em transparent;
    pointer-events: none;
  }
  #main [text-stroke].text-blue::before {
    background-image: linear-gradient(#fff 10%, #4dffb6 60%, #b64dff 90%);
  }
}
#main #content-area {
  position: relative;
  width: 16.66667em;
  left: calc(50% - 8.33333em);
}
#main .side-container {
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 2.25em;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 24em;
  opacity: 1;
}
#main .side-container > * {
  pointer-events: all;
}
#main .side-btn {
  display: block;
  margin-left: auto;
  margin-right: 0.25em;
  width: 3.15em;
  opacity: 1;
  transition: opacity 0.5s;
}
@media (max-width: 1280px) {
  #main .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}
#main .input-group {
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.25em auto;
  gap: 0.25em;
  width: 100%;
}
#main .text-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  padding: 0em 0.25em;
  margin: 0;
  word-wrap: break-word;
  min-width: 4.7em;
  background: linear-gradient(#69330f, rgba(134, 69, 22, 0.75));
  border-radius: 1em;
  box-shadow: inset 0.05em 0.05em 0.15em rgba(0, 0, 0, 0.25), 0.025em 0.025em 0.05em rgba(255, 255, 255, 0.15);
  text-shadow: 0 0.025em 0.05em #000;
}
#main .input {
  flex: 1 1 auto;
  width: 100%;
  font: inherit;
  color: #333;
  background: #fff;
  border: none;
  border-radius: 0.5em;
  box-shadow: inset 0 0 0.1em 0.05em rgba(0, 0, 0, 0.15), inset 0.075em 0.05em 0.1em 0.05em rgba(0, 0, 0, 0.15);
  padding: 0.2em 0.5em;
}
#main .input::-moz-placeholder {
  color: inherit;
  opacity: 0.5;
}
#main .input::placeholder {
  color: inherit;
  opacity: 0.5;
}
#main .btn-submit {
  display: inline-block;
  flex: 0 0 auto;
  font: inherit;
  color: #fff;
  text-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 0.25);
  background: linear-gradient(#4ae28e, #219954);
  padding: 0.2em 1em;
  border: 0.05em solid #080;
  border-radius: 0.5em;
  box-shadow: 0.025em 0.05em 0.1em rgba(0, 0, 0, 0.25);
  transition: background 0.1s;
  cursor: pointer;
}
#main .btn-submit:active, #main .btn-submit:hover {
  background: linear-gradient(#219954, #4ae28e);
}
@keyframes envGlow {
  0% {
    filter: drop-shadow(0 0 0.1em rgba(255, 255, 170, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 0.2em #ffffaa);
  }
}
#main #rules .border2 {
  margin-bottom: 0;
}
#main #rules ol {
  padding-left: 2em;
  padding-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}
@media (min-width: 768px) {
  #main #rules ol {
    text-shadow: 1px 1px 3px #6e0805, -1px 1px 3px #6e0805, 1px -1px 3px #6e0805, -1px -1px 3px #6e0805;
  }
}
#main #rules li {
  text-align: justify;
}
#main #rules li + li {
  margin-top: 0.5em;
}
#main #socials {
  filter: drop-shadow(0 0.05em 0.15em rgba(0, 0, 0, 0.5));
}
#main {
  /*==============*/
  /* MODAL STYLES */
}
#main .modal.old {
  font: 400 60px/1.5 "Noto Sans TC", Arial, Helvetica, sans-serif !important;
  font-size: clamp(16px, 6vw, 60px) !important;
  display: none;
}
#main .modal.old.is-active {
  display: flex;
}
#main .modal.old {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#main .modal.old .mask {
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
  animation: fade 0.4s ease-out;
}
@supports (backdrop-filter: blur(0.1rem)) {
  #main .modal.old .mask {
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    transition: backdrop-filter 0.5s ease-out;
  }
}
#main .modal.old .border p,
#main .modal.old .border ul,
#main .modal.old .border ol {
  font-size: 0.6667em;
  font-size: clamp(14px, 0.6667em, 40px);
}
#main .modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}
#main .modal-overflow::-webkit-scrollbar {
  width: 0px;
}
#main .modal-window {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 97.5%;
  max-width: 14em;
  margin: 1.5em auto 1.25em;
  padding: 0.5em 0;
  line-height: 1.4;
  animation: pop 0.3s;
  min-height: 360px;
}
#main .modal-window .message {
  font-size: clamp(13.5px, 1.42em, 36px);
  text-shadow: calc(0.7 * var(--outline-width)) calc(0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(0.7 * var(--outline-width)) calc(-0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(-0.7 * var(--outline-width)) calc(0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(-0.7 * var(--outline-width)) calc(-0.7 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(1 * var(--outline-width)) 0 calc(0.25 * var(--outline-width)) var(--outline-color), calc(-1 * var(--outline-width)) 0 calc(0.25 * var(--outline-width)) var(--outline-color), 0 calc(1 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), 0 calc(-1 * var(--outline-width)) calc(0.25 * var(--outline-width)) var(--outline-color), calc(0.9 * var(--outline-width)) calc(0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.9 * var(--outline-width)) calc(-0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.9 * var(--outline-width)) calc(0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.9 * var(--outline-width)) calc(-0.4 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.4 * var(--outline-width)) calc(0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(0.4 * var(--outline-width)) calc(-0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.4 * var(--outline-width)) calc(0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color), calc(-0.4 * var(--outline-width)) calc(-0.9 * var(--outline-width)) calc(0.3 * var(--outline-width)) var(--outline-color);
}
#main .modal-window .message p {
  font-size: clamp(13.5px, 1.42em, 36px);
}
#main .modal-window .message h3 {
  margin-bottom: 0.5em;
  margin-top: 0.2em;
}
#main .modal-window .message .line {
  display: flex;
  text-shadow: none;
  width: 62%;
  margin: 0 auto;
  font-size: 0.8em;
}
#main .modal-window .message .tips {
  color: #eae269;
  text-shadow: none;
  font-size: 0.65em;
  margin-top: 1em;
  margin-bottom: 0.5em;
}
#main .modal-window .message .tips a {
  border-bottom: 2px solid;
}
#main {
  /* ==================== */
  /* JS ANIMATION CLASSES */
}
#main .fade-up,
#main .fade-left,
#main .fade-right,
#main .fade-down,
#main .fade-in {
  opacity: 0;
  transition: opacity 1.6s, transform 1s;
}
#main .fade-up.faded,
#main .fade-left.faded,
#main .fade-right.faded,
#main .fade-down.faded,
#main .fade-in.faded {
  transform: none;
  opacity: 1;
}
#main .fade-up {
  transform: translate(0, 1em);
}
#main .fade-down {
  transform: translate(0, -1em);
}
#main .fade-left {
  transform: translate(1em, 0);
}
#main .fade-right {
  transform: translate(-1em, 0);
}
#main .bg-area.fade-up,
#main .bg-area .fade-up {
  transform: none;
}

/*=====================*/
/* KEYFRAMES AND MEDIA */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes glow {
  0% {
    visibility: hidden;
  }
  50% {
    visibility: visible;
  }
}
@keyframes pop {
  0% {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes fade {
  0% {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}
@keyframes blink {
  0% {
    background-position: top;
  }
  50% {
    background-position: bottom;
  }
}
@media (max-width: 1000px) {
  #main .head-title {
    width: 16em;
    left: calc(50% - 8em);
  }
  #main .modal-window #message h3 {
    font-size: 1em;
    margin-bottom: 0.3em;
  }
  #main .modal-window #message .line {
    font-size: 0.65em;
    margin: 0 auto;
    display: flex;
    width: 100%;
  }
  #main .modal-window #message .tips {
    font-size: 0.55em;
  }
}
@media (max-width: 520px) {
  #main .modal-window #message {
    font-size: 0.7em;
  }
  #main .modal-window #message .line {
    font-size: 0.7em;
    width: 80%;
  }
  #main .modal-window #message .tips {
    font-size: 0.5em;
  }
}
/* ==================== Banner 持續動畫 (進場結束後啟用) ==================== */
/* 上下浮動 */
.banner-layer .loop-float {
  animation: loopFloat 3s ease-in-out infinite alternate;
}

@keyframes loopFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
/* 縮放呼吸 */
.banner-layer .loop-pulse {
  animation: loopPulse 2.5s ease-in-out infinite alternate;
}

@keyframes loopPulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}
/* 左右搖擺 */
.banner-layer .loop-swing {
  animation: loopSwing 3s ease-in-out infinite alternate;
}

@keyframes loopSwing {
  from {
    transform: translateX(-5px);
  }
  to {
    transform: translateX(5px);
  }
}/*# sourceMappingURL=main.css.map */