@charset "UTF-8";
html, body, #main {
  background: #ffad27;
  color: #fff;
  font-family: "微軟正黑體", "Noto Sans TC", Arial, Helvetica, sans-serif;
}

#header::after {
  background: #ef4545 linear-gradient(0deg, #c73030 0.1em, #ef4545 0.1em);
  padding-bottom: 0.1em;
}

#footer::after {
  background: #ef4545 linear-gradient(180deg, #c73030 0.1em, #ef4545 0.1em);
  padding-top: 0.1em;
}

#header .nav {
  filter: drop-shadow(0 0.1em 0.05em rgba(0, 0, 0, 0.35));
  max-width: 16.66667em;
}

.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;
  pointer-events: none;
  background: #ffad27;
}
.bg-area img {
  width: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

/*===================*/
/* MAIN PAGE CONTENT */
.dl-btn-container {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 16.66667em;
  max-width: 100vw;
  padding-top: 2.5em;
  padding-bottom: 1px;
  margin-bottom: 0em;
  margin-top: 0em;
}

.dl-btn, .play-btn, .station-btn {
  display: block;
  position: absolute;
  bottom: 0;
  width: 7.5em;
  padding-top: 2.5em;
  border-radius: 1.35em;
  transition: filter 0.3s 0.2s;
}
.dl-btn:hover, .dl-btn:focus, .dl-btn:active, .play-btn:hover, .play-btn:focus, .play-btn:active, .station-btn:hover, .station-btn:focus, .station-btn:active {
  background-position: bottom;
}

.dl-btn {
  transform-origin: 85% 0%;
  left: 5%;
  background: url("../_img/btn-download.png") top no-repeat;
  background-size: cover;
}

.play-btn {
  transform-origin: 15% 0%;
  right: 5%;
  background: url("../_img/btn-play.png") top no-repeat;
  background-size: cover;
}

.station-btn {
  bottom: -3.75em;
  position: relative;
  width: 16em;
  left: 2.25%;
  background: url("../_img/btn-station.png") top no-repeat;
  background-size: cover;
}

.sr-only {
  position: fixed;
  top: -9in;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.section {
  max-width: 16.66667em;
  width: 100%;
  margin: 0 auto;
}

/*==============*/
/* PAGE CONTENT */
img {
  max-width: 100%;
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.content {
  position: relative;
  width: 92%;
  max-width: 15.5em;
  margin: 0 auto;
}

.head-title {
  display: block;
  position: relative;
  width: 32em;
  top: 0;
  left: calc(50% - 16em);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 2em 0 0.25em;
}
.head-title > div > a {
  display: table;
  margin: auto;
  width: 4em;
  transition: filter 0.15s;
}
.head-title > div > a:hover {
  filter: drop-shadow(0 0.05em 0.15em rgba(0, 0, 0, 0.5)) brightness(1.2);
}

.border, .frame {
  position: relative;
  display: table;
  z-index: 0;
  font-weight: 600;
  font-size: clamp(20px, 1em, 60px);
  max-width: 84%;
  min-height: 5em;
  margin: 2.15em auto 0.75em;
  color: #542b14;
  border: 0 solid transparent;
  border-radius: 0.75em;
  background: url(../_img/border-bg.png) center/1.25em repeat;
}
.border::before, .frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -o-border-image: url(../_img/border.png) 75 fill/1.25em/0.25em;
     border-image: url(../_img/border.png) 75 fill/1.25em/0.25em;
  pointer-events: none;
}
.border p, .border ol, .frame p, .frame ol {
  font-size: 0.6em;
  line-height: 1.5;
  padding: 0 1.5em;
  margin: 0.75em auto 1.25em;
  text-align: justify;
}
.border a, .frame a {
  text-decoration: none;
  text-underline-offset: 0.2em;
}
.border a:hover, .frame a:hover {
  text-decoration: underline;
}

.frame {
  margin-bottom: 1em;
  border: 0.5em solid transparent;
  background-clip: padding-box;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.frame::before {
  top: -10%;
  left: -0.5em;
  right: -0.5em;
  bottom: -16%;
  -o-border-image: none;
     border-image: none;
  background: url(../_img/frame.png) center/100% 100% no-repeat;
}
.modal .frame .btn-close {
  right: -0.75em;
  top: -1.25em;
}

.title {
  position: relative;
  font-size: 1em;
  margin: 0 auto 0.5em;
  padding: 0;
  text-align: center;
  text-shadow: 0.025em 0.05em 0.05em #000;
  line-height: 2;
  border-radius: 2em;
  color: #fff;
}
.title img {
  width: 12em;
}
.title::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1.7em;
  left: calc(50% - 8.25em);
  height: 6.5em;
  width: 16.5em;
  background: url(../_img/title-bg.png) center/auto 100% no-repeat;
}

.prize {
  font-size: 0.95em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border: 0;
  -o-border-image: url(../_img/prize-bg.png) 0 0 0 210 fill/0 0 0 3.5em;
     border-image: url(../_img/prize-bg.png) 0 0 0 210 fill/0 0 0 3.5em;
  height: 3.5em;
  width: 15em;
  max-width: 86%;
  left: -3%;
  margin: 1em auto;
}
.prize :first-child {
  width: 3.5em;
  text-align: center;
}
.prize img {
  width: 4em;
  margin: 0 -1em 0 0;
  text-align: center;
}
.prize p {
  text-align: left;
  padding: 0 0.5em;
  margin: 0;
  width: auto;
  flex-grow: 1;
  line-height: 1.2;
}
.prize .text-outline {
  color: #fff;
}

a {
  color: inherit;
}

:visited {
  color: inherit;
}

.text-hilight {
  color: #ff0297;
}

.text-yellow {
  color: #fffa68;
}

.text-blue {
  color: #5a77d7;
}

.text-red {
  color: #f00;
}

.text-center {
  text-align: center;
}

:root {
  --outline-color: #fff;
  --outline-width: .12em;
}

.text-outline {
  letter-spacing: normal;
  font-weight: 600;
  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);
}

#content-area {
  position: relative;
  left: 50%;
  transform: translate(-50%);
  width: 100vw;
  max-width: 16.66667em;
  min-height: 10em;
}

.btn-game {
  display: block;
  margin: 0 auto 0.5em;
  width: 9em;
  height: 2em;
  background: url(../_img/btn-game.png) top/100% auto no-repeat;
  cursor: pointer;
}
.btn-game:hover, .btn-game:active {
  background-position: bottom;
}

.input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  margin: 0.15em auto;
  padding: 0 0.75em;
}
.input-group input {
  font: inherit;
  font-size: 1em;
  line-height: 1.9;
  padding: 0 0.5em;
  border: 0.08em solid #853a09;
  border-radius: 0.5em;
  box-shadow: inset 0 0.1em 0.25em #888;
  width: 100%;
  max-width: 12em;
  flex: 0 1 auto;
}
.input-group input::-moz-placeholder {
  font-size: 0.9em;
  font-weight: normal;
  opacity: 0.5;
}
.input-group input::placeholder {
  font-size: 0.9em;
  font-weight: normal;
  opacity: 0.5;
}

a.input-btn, a.input-btn2, button.input-btn, button.input-btn2 {
  font: inherit;
  font-size: 1em;
  line-height: 2;
  text-decoration: none;
  padding: 0 0.5em;
  border: none;
  width: 4.3em;
  height: 2.15em;
  flex: 0 0 auto;
  color: #fff;
  background: url(../_img/btn-submit.png) 0 0/200% 200% no-repeat;
  cursor: pointer;
}
a.input-btn:hover, a.input-btn2:hover, button.input-btn:hover, button.input-btn2:hover {
  background-position: 0 100%;
}
a.input-btn2, button.input-btn2 {
  background-position: 100% 0;
}
a.input-btn2:hover, button.input-btn2:hover {
  background-position: 100% 100%;
}

#form {
  border: none;
  padding: 0.25em 0;
  margin-top: 0.5em;
  color: #771b01;
  background: #ff747f;
  min-height: 4em;
}
#form::before {
  filter: contrast(1.5) saturate(0.25) brightness(1.75);
}
#form::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: calc(50% - 0.9em);
  left: -0.9em;
  right: -0.9em;
  height: 1.5em;
  background: url(../_img/border-deco.png) left/1.5em auto no-repeat, url(../_img/border-deco.png) right/1.5em auto no-repeat;
}
#form p {
  text-align: center;
  margin: 0.25em auto 0.5em;
}
#form p button {
  font: inherit;
  color: #fbf200;
  text-decoration: underline;
  text-underline-offset: 0.1em;
  background: none;
  border: none;
  cursor: pointer;
}

#event1 p, #event3 p, #event4 p, #event5 p {
  transform: scale(0.88, 1);
  padding: 0 0.5em;
}

#event1 p, #event2 p, #event3 p {
  text-align: center;
}

#event1 p {
  padding: 0 0.3em;
}

#event5 p {
  padding: 0 0.8em;
}

#rules ul, #rules ol {
  text-align: justify;
  list-style: none;
  font-size: 0.45em;
  font-weight: 600;
  padding-left: 2.5em;
  padding-right: 2em;
  margin: 0.35em auto 1.5em;
  line-height: 1.25;
}
#rules li {
  position: relative;
}
#rules li::before {
  content: "";
  position: absolute;
  width: 0.35em;
  height: 0.35em;
  background: currentColor;
  margin: 0.5em 0.25em 0.2em -0.6em;
  transform: rotate(45deg);
}
#rules li + li {
  margin-top: 0.5em;
}

#window-privacy h3 {
  font-size: 1em;
  margin: 0.25em 0;
}
#window-privacy ol {
  font-size: 0.6em;
  margin: 0 auto 0.5em;
  padding: 0 1.25em;
  list-style: none;
  text-align: justify;
  line-height: 1.35;
  counter-reset: privacy;
}
#window-privacy ol li {
  display: inline;
}
#window-privacy ol li + li {
  counter-increment: privacy;
}
#window-privacy ol li + li::before {
  content: "(" counter(privacy) ") ";
}

#window-download p {
  font-size: 0.66667em;
}

/*==============*/
/* MODAL STYLES */
.modal {
  font: 600 60px/1.5 Arial, Helvetica, sans-serif;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal .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 ((-webkit-backdrop-filter: blur(0.1rem)) or (backdrop-filter: blur(0.1rem))) {
  .modal .mask {
    -webkit-backdrop-filter: blur(0.15rem);
            backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    transition: -webkit-backdrop-filter 0.5s ease-out;
    transition: backdrop-filter 0.5s ease-out;
    transition: backdrop-filter 0.5s ease-out, -webkit-backdrop-filter 0.5s ease-out;
  }
}
.modal .btn-close {
  font: inherit;
  font-size: 0.9em;
  font-weight: 400;
  display: block;
  position: absolute;
  z-index: 2;
  right: -0.5em;
  top: -1em;
  width: 2.25em;
  height: 2.25em;
  border: none;
  border-radius: 100%;
  color: transparent;
  background: #fff;
  background: url(../_img/btn-close.png) center/contain no-repeat;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: filter 0.2s;
}
.modal .btn-close:hover, .modal .btn-close:focus, .modal .btn-close:active {
  filter: brightness(1.1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
}

.modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}
.modal-overflow::-webkit-scrollbar {
  width: 0px;
}

.modal-window {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 90%;
  max-width: 14.5em;
  min-height: 4em;
  margin: 1em auto 0.5em;
  line-height: 1.4;
  animation: pop 0.3s;
}

.modal-content {
  padding: 0.25em 0 0.25em;
}
.modal-content p {
  font-size: 0.75em;
  margin: 0.5em auto;
  text-align: center;
}

/* ==================== */
/* JS ANIMATION CLASSES */
.fade-up, .fade-left, .fade-right, .fade-down, .fade-in {
  opacity: 0;
  transition: opacity 1.6s, transform 1s;
}
.fade-up.faded, .fade-left.faded, .fade-right.faded, .fade-down.faded, .fade-in.faded {
  transform: none;
  opacity: 1;
}

.fade-up {
  transform: translate(0, 1em);
}

.fade-down {
  transform: translate(0, -1em);
}

.fade-left {
  transform: translate(1em, 0);
}

.fade-right {
  transform: translate(-1em, 0);
}

/*=====================*/
/* 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;
    -webkit-backdrop-filter: blur(0);
            backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
}
@keyframes blink {
  0% {
    background-position: top;
  }
  50% {
    background-position: bottom;
  }
}
@media (max-width: 1920px) {
  #main, .modal {
    font-size: 3.125vw;
  }
}
@media (max-width: 1280px) {
  #main, .modal {
    font-size: 40px;
  }
}
@media (max-width: 666px) {
  #main, .modal {
    font-size: 6vw;
  }
}
@media (max-height: 720px) {
  .modal {
    font-size: 6vmin;
  }
}
@media (max-width: 420px) {
  .modal-window {
    max-width: 96%;
  }
}/*# sourceMappingURL=main.css.map */