html, body, #main {
  background: #e0e6a9;
  color: #75420b;
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
}

#header::after {
  background: #479e36;
  box-shadow: 0 0.1em 0.1em rgba(0, 0, 0, 0.35);
}

#footer::after {
  background: #479e36;
}

#header {
  position: absolute;
  height: 1.8em;
  width: 100vw;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 99;
  color: #fff;
}
#header .nav {
  display: block;
  align-items: center;
  width: 100%;
  max-width: 16.66667em;
  height: 100%;
  margin: 0 auto;
  padding: 0.2em;
  filter: drop-shadow(0 0.05em 0.05em rgba(32, 0, 0, 0.25)) drop-shadow(0 0 0.05em rgba(32, 0, 0, 0.25));
}
#header .nav-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.2em;
}
#header .nav-item {
  list-style: none;
  display: block;
}
#header .nav-space {
  list-style: none;
  flex: 1 1 auto;
}
#header .nav-link {
  transition: filter 0.15s;
}
#header .nav-link:hover, #header .nav-link:active {
  filter: drop-shadow(0.01em 0.08em 0.05em rgba(0, 0, 0, 0.5)) brightness(1.1);
}
#header .nav-icon {
  display: block;
  width: auto;
  color: inherit;
  border: 0 solid;
  border-radius: 100%;
  box-shadow: inset 0 0 0 currentColor, inset 0 0 0 0.05em currentColor;
  transition: color 0.15s, background 0.15s, box-shadow 0s;
}
#header .nav-icon:hover, #header .nav-icon:active {
  color: #00B900;
  background: #fff;
  box-shadow: inset 0 0 0 0.065em currentColor, 0 0 0.1em currentColor;
}
#header .nav-yt:hover, #header .nav-yt:active {
  color: #FF0000;
}
#header .nav-fb:hover, #header .nav-fb:active {
  color: #0866FF;
}
#header .nav-ig:hover, #header .nav-ig:active {
  color: #E4007F;
}
#header .nav-line:hover, #header .nav-line:active {
  color: #00B900;
}
#header img, #header svg {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 1.4em;
}

#footer .foot {
  filter: drop-shadow(0 0.1em 0.05em rgba(0, 0, 0, 0.35));
}

.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: #e0e6a9;
}
.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;
  text-align: center;
  margin-bottom: 0em;
  margin-top: 0em;
}

.dl-btn, .play-btn, .station-btn {
  display: inline-block;
  position: relative;
  z-index: 0;
  font: inherit;
  font-size: smaller;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0.1em 0.1em rgba(0, 0, 0, 0.5), 0.02em 0 0.01em rgba(0, 0, 0, 0.5), -0.02em 0 0.01em rgba(0, 0, 0, 0.5), 0 0.02em 0.01em rgba(0, 0, 0, 0.5), 0 -0.02em 0.01em rgba(0, 0, 0, 0.5);
  color: #fff;
  background: #0d0;
  background-image: linear-gradient(90deg, #7b2201, #c04511 20%, #c04511 80%, #7b2201);
  background-clip: padding-box;
  box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.5);
  width: 7em;
  height: 2em;
  padding: 0.15em 0.5em 0.25em;
  margin: 0.2em;
  border: 0 solid transparent;
  border-radius: 0.9em;
  cursor: pointer;
}
.dl-btn::before, .dl-btn::after, .play-btn::before, .play-btn::after, .station-btn::before, .station-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.dl-btn::before, .play-btn::before, .station-btn::before {
  bottom: 0.2em;
  border-radius: 0.9em;
  background: linear-gradient(#902001, #ffa800 75%), radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom 105%/80% 0.2em no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom -0.05em/80% 0.2em no-repeat;
  box-shadow: inset 0 0 0.1em #fff, inset 0 0.25em rgba(255, 255, 255, 0.35), 0 0 0 0.01em rgba(0, 0, 0, 0.5);
}
.dl-btn::after, .play-btn::after, .station-btn::after {
  inset: -0.2em;
  border-radius: 1.2em;
  background: radial-gradient(closest-side, white, transparent) left 60% bottom -0.1em/1em 1em no-repeat, radial-gradient(closest-side, white, transparent) right 0.5em bottom 0.25em/0.5em 0.5em no-repeat;
  box-shadow: inset 0 0 0.1em 0.05em #fff, inset 0 0.3em rgba(255, 255, 255, 0.35), 0 0.18em rgba(0, 0, 0, 0.5), 0 0.2em 0.02em rgba(255, 255, 255, 0.4);
}
.dl-btn:hover, .dl-btn:active, .play-btn:hover, .play-btn:active, .station-btn:hover, .station-btn:active {
  border-top-width: 0.1em;
  background-image: linear-gradient(90deg, #7b2201, #c04511 20%, #c04511 80%, #7b2201);
}
.dl-btn:hover::before, .dl-btn:active::before, .play-btn:hover::before, .play-btn:active::before, .station-btn:hover::before, .station-btn:active::before {
  bottom: 0.1em;
  background: linear-gradient(#ffa800 25%, #902001), radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom 105%/80% 0.2em no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom -0.05em/80% 0.2em no-repeat;
}
.dl-btn:hover::after, .dl-btn:active::after, .play-btn:hover::after, .play-btn:active::after, .station-btn:hover::after, .station-btn:active::after {
  top: -0.3em;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.65), transparent) left 50% bottom 0.2em/80% 0.25em no-repeat, radial-gradient(closest-side, white, transparent) left 50% top 0.25em/80% 0.25em no-repeat;
}

.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;
  max-width: 16em;
  margin: 0 auto;
  counter-reset: badge;
}

.head-title {
  display: block;
  position: relative;
  z-index: 0;
  width: 32em;
  max-height: 15em;
  top: 0;
  left: calc(50% - 16em);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 2.1em 0 0.25em;
}

.border, .border2 {
  position: relative;
  display: block;
  z-index: 0;
  font-weight: 400;
  min-height: 2em;
  color: #4e2811;
  background: #ffe4af;
  border-radius: 0.5em;
  margin: 1em auto 1em;
  padding: 0.8em 0.5em;
}
.border::after, .border2::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  border: 0 solid transparent;
  border-radius: inherit;
  -o-border-image: url(../_img/border.png) 105 99 fill/1.75em 1.65em/0.35em round;
     border-image: url(../_img/border.png) 105 99 fill/1.75em 1.65em/0.35em round;
}
.border p, .border ul, .border ol, .border2 p, .border2 ul, .border2 ol {
  font-size: 0.55em;
  font-size: clamp(13px, 0.55em, 40px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding: 0 0;
  margin: 0.5em auto 0.5em;
}

.border2 {
  color: #11364e;
  background-color: #f9ffd8;
}
.border2::after {
  border-image-source: url(../_img/border-2.png);
}
.border2 .box {
  background-color: #96dab7;
}

.box {
  position: relative;
  flex: 1 0 auto;
  background: #e9b373;
  border-radius: 0.5em;
  padding: 0.25em;
}
.box img {
  filter: drop-shadow(0 0.1em 0.05em rgba(0, 0, 0, 0.5));
}
.box p {
  margin: 0.25em 0;
  line-height: 1.2;
}
.box svg {
  width: 1em;
  height: 0.8em;
}

.tab-btns {
  margin-top: 1em;
  display: flex;
}
.tab-btns .tab-btn {
  flex: 1 0 auto;
  font: inherit;
  text-align: center;
  border: 0;
  padding-top: 0.25em;
  padding-bottom: 2.75em;
  margin: 0 0 -2.65em;
  transform: translate(0, -0.4em);
  filter: brightness(0.75);
  transition: transform 0.2s, filter 0.2s;
  cursor: pointer;
}
.tab-btns .tab-btn > b {
  display: block;
  font-size: 0.8em;
  --outline-color: #fff;
  --outline-width: .08em;
  filter: drop-shadow(0 0.1em currentColor);
}
.tab-btns .tab-btn.border2 {
  color: #006181;
  -webkit-clip-path: polygon(-0.35em -0.35em, calc(100% + 0.35em) -0.35em, calc(100% + 0.35em) 1.25em, calc(100% - 0.65em) 2.25em, -0.35em 2.7em);
          clip-path: polygon(-0.35em -0.35em, calc(100% + 0.35em) -0.35em, calc(100% + 0.35em) 1.25em, calc(100% - 0.65em) 2.25em, -0.35em 2.7em);
}
.tab-btns .tab-btn.border {
  -webkit-clip-path: polygon(-0.35em -0.35em, calc(100% + 0.35em) -0.35em, calc(100% + 0.35em) 2.7em, 0.65em 2.25em, -0.35em 1.25em);
          clip-path: polygon(-0.35em -0.35em, calc(100% + 0.35em) -0.35em, calc(100% + 0.35em) 2.7em, 0.65em 2.25em, -0.35em 1.25em);
}
.tab-btns .tab-btn:hover {
  transform: translate(0, -0.5em);
  filter: brightness(0.9);
}
.tab-btns .tab-btn.current {
  z-index: 1;
  transform: translate(0);
  filter: brightness(1);
  cursor: default;
}

.tab {
  margin-top: 0;
  display: none;
}

#tab1 {
  position: absolute;
  opacity: 0;
}
#tab1:checked ~ .tab-btns > [for=tab1] {
  z-index: 1;
  transform: translate(0);
  filter: brightness(1);
  cursor: default;
  transition: none;
}
#tab1:checked ~ .tabs > [tab=tab1] {
  display: block;
}
#tab1:focus-visible ~ .tab-btns > [for=tab1] {
  outline: auto;
}

#tab2 {
  position: absolute;
  opacity: 0;
}
#tab2:checked ~ .tab-btns > [for=tab2] {
  z-index: 1;
  transform: translate(0);
  filter: brightness(1);
  cursor: default;
  transition: none;
}
#tab2:checked ~ .tabs > [tab=tab2] {
  display: block;
}
#tab2:focus-visible ~ .tab-btns > [for=tab2] {
  outline: auto;
}

.title {
  position: relative;
  font-size: 0.6667em;
  font-size: clamp(15px, 0.6667em, 40px);
  font-family: "Noto Sans TC", Arial, Helvetica, sans-serif;
  font-family: "Noto Serif TC", serif;
  font-weight: bold;
  margin: -3.5em auto -0.5em;
  width: -moz-max-content;
  width: max-content;
  min-width: 9em;
  padding: 0.25em 0;
  text-align: center;
  line-height: 1.2;
  --outline-color: #0f4005;
  color: #fbe6b3;
  text-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 0.5);
}

.title2 {
  font-size: 1em;
  margin: 0.35em auto;
}

.title3 {
  font-size: 0.75em;
}

a {
  color: inherit;
  text-underline-offset: 0.15em;
}

:visited {
  color: inherit;
}

.text-hilight {
  color: #ffce80;
}

.text-yellow {
  color: #fff600;
}

.text-blue {
  color: #a1f6fe;
}

.text-red {
  color: #d54326;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.text-big {
  font-size: larger;
}

.text-nowrap {
  white-space: nowrap;
}

: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);
}

.text-gold {
  color: #ffbd00;
  --outline-color: #360707;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .text-gold {
    color: transparent;
    text-shadow: none;
    display: inline-block;
    padding: 0 0.05em;
    background: linear-gradient(#963200, #512b00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0.2em transparent;
    filter: drop-shadow(0 0.1em 0.05em rgba(0, 0, 0, 0.85));
  }
  .text-gold::before {
    content: attr(data-stroke);
    background: linear-gradient(#fff, #ff0 50%, #f80);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 0em transparent;
    position: absolute;
    z-index: 1;
    filter: drop-shadow(0 0 0.025em #000);
  }
}

[data-login=false] .is-login, [data-login=true] .not-login {
  display: none;
}

#content-area {
  position: relative;
  left: 50%;
  transform: translate(-50%);
  width: 100vw;
  max-width: 32em;
  min-height: 10em;
  overflow: hidden;
}

.content {
  counter-reset: step;
}

.step {
  position: relative;
  font-size: 0.66667em;
  line-height: 1.25;
  text-align: center;
  padding: 0.35em 0.5em 0.35em 2em;
  border-radius: 2em;
  background: #e9b373;
  color: #4e2811;
  counter-increment: step;
}
.border2 .step {
  color: #11364e;
  background: #96dab7;
}
.step::before {
  content: counter(step);
  display: inline-block;
  position: absolute;
  top: 0.1em;
  left: 0.1em;
  font-size: 1.5em;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  vertical-align: text-bottom;
  width: 1.1em;
  height: 1.1em;
  line-height: 1.1;
  background: #fff;
  color: #4e2811;
  border-radius: 1em;
}
.border2 .step::before {
  color: #287490;
}

.btn, .btn2 {
  display: inline-block;
  position: relative;
  z-index: 0;
  font: inherit;
  font-size: smaller;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 0.1em 0.1em rgba(0, 0, 0, 0.5), 0.02em 0 0.01em rgba(0, 0, 0, 0.5), -0.02em 0 0.01em rgba(0, 0, 0, 0.5), 0 0.02em 0.01em rgba(0, 0, 0, 0.5), 0 -0.02em 0.01em rgba(0, 0, 0, 0.5);
  color: #fff;
  background: #ffa800;
  background-image: linear-gradient(90deg, #7b2201, #c04511 20%, #c04511 80%, #7b2201);
  background-clip: padding-box;
  box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.5);
  width: 7em;
  height: 2em;
  padding: 0.15em 0.5em 0.25em;
  margin: 0.2em;
  border: 0 solid transparent;
  border-radius: 0.25em;
  cursor: pointer;
}
.btn::before, .btn::after, .btn2::before, .btn2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.btn::before, .btn2::before {
  bottom: 0.2em;
  border-radius: inherit;
  background: linear-gradient(#902001, #ffa800 75%), radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom 105%/80% 0.2em no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom -0.05em/80% 0.2em no-repeat;
  box-shadow: inset 0 0 0.1em #fff, inset 0 0.25em rgba(255, 255, 255, 0.35), 0 0 0 0.01em rgba(0, 0, 0, 0.5);
}
.btn::after, .btn2::after {
  inset: -0.2em;
  border-radius: 1.2em;
}
.btn:hover, .btn:active, .btn2:hover, .btn2:active {
  border-top-width: 0.1em;
}
.btn:hover::before, .btn:active::before, .btn2:hover::before, .btn2:active::before {
  bottom: 0.1em;
  background: linear-gradient(#ffa800 25%, #902001), radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom 105%/80% 0.2em no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom -0.05em/80% 0.2em no-repeat;
}
.btn:hover::after, .btn:active::after, .btn2:hover::after, .btn2:active::after {
  top: -0.3em;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.65), transparent) left 50% bottom 0.2em/80% 0.25em no-repeat, radial-gradient(closest-side, white, transparent) left 50% top 0.25em/80% 0.25em no-repeat;
}

.btn2 {
  background-color: #8cd45f;
  background-image: linear-gradient(90deg, #045f06, #239126 20%, #239126 80%, #045f06);
}
.btn2::before {
  background: linear-gradient(#31680c, #8cd45f 75%), radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom 105%/80% 0.2em no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom -0.05em/80% 0.2em no-repeat;
}
.btn2:hover::before, .btn2:active::before {
  background: linear-gradient(#8cd45f 25%, #31680c), radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom 105%/80% 0.2em no-repeat, radial-gradient(closest-side, rgba(255, 255, 255, 0.5), transparent) left 50% bottom -0.05em/80% 0.2em no-repeat;
}
.btn2:hover::after, .btn2:active::after {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.65), transparent) left 50% bottom 0.2em/80% 0.25em no-repeat, radial-gradient(closest-side, white, transparent) left 50% top 0.25em/80% 0.25em no-repeat;
}

.btn3 {
  font: inherit;
  font-size: 0.75em;
  font-weight: normal;
  display: inline-block;
  vertical-align: text-bottom;
  position: relative;
  z-index: 0;
  margin: 0.25em 0;
  padding: 0 1em 0.8em;
  border: none;
  border-radius: 0.35em;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0.05em 0.1em #000, 0 0.1em 0.25em #008;
  background: linear-gradient(#edead2, #dddcdb);
  box-shadow: inset 0 -0.05em 0.15em 0.025em white, 0 0.25em #c8c8c8;
  cursor: pointer;
  transition: filter 0.1s;
  filter: brightness(1.1) drop-shadow(0 0.1em 0.1em rgba(0, 0, 0, 0.25));
}
.btn3 img {
  filter: drop-shadow(0 0.05em 0.05em rgba(0, 0, 0, 0.75));
}
.btn3::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -0.25em;
  left: 0.25em;
  right: 0.25em;
  bottom: 0.6em;
  border-radius: 0.35em;
  background: linear-gradient(#4766e5, #0033b3);
  box-shadow: inset 0 -0.05em 0.15em 0.025em rgba(255, 255, 255, 0.5), 0 0.35em #12358d;
}
.btn3:hover, .btn3:active, .btn3:focus {
  padding: 0.1em 1em 0.7em;
}
.btn3:hover::after, .btn3:active::after, .btn3:focus::after {
  transform: translate(0, 0.1em);
  background: linear-gradient(#20ffcd, #05b4ef);
  box-shadow: inset 0 -0.05em 0.15em 0.025em rgba(255, 255, 255, 0.5), 0 0.25em #00a2cb;
}

.btn-link {
  font: inherit;
  display: inline;
  border: none;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.btn-pointer::after {
  content: "";
  position: absolute;
  width: 2.5em;
  height: 2.5em;
  margin-top: 0.25em;
  background: url(../_img/btn-pointer.png) center/contain no-repeat;
  filter: drop-shadow(0 0.1em 0.1em rgba(0, 0, 0, 0.35));
  animation: btnPointer 1s infinite alternate ease-in-out;
  pointer-events: none;
}
.btn-pointer:disabled::after {
  content: none;
}

@keyframes btnPointer {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(0.5em, 0.5em) scale(1.05);
  }
}
.btn-group, .input-group {
  font-size: 1em;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0.25em auto;
  gap: 0.1em;
  padding: 0.1em;
  border-radius: 1em;
  background: #9f492f;
}
.btn-group > .btn, .btn-group .btn2, .btn-group .input, .input-group > .btn, .input-group .btn2, .input-group .input {
  margin: 0;
}
.btn-group > .btn:first-child, .btn-group .btn2:first-child, .btn-group .input:first-child, .input-group > .btn:first-child, .input-group .btn2:first-child, .input-group .input:first-child {
  border-radius: 1em 0 0 1em;
}
.btn-group > .btn:last-child, .btn-group .btn2:last-child, .btn-group .input:last-child, .input-group > .btn:last-child, .input-group .btn2:last-child, .input-group .input:last-child {
  border-radius: 0 1em 1em 0;
}

fieldset {
  padding: 0;
  margin: 0;
  border: none;
}

.input {
  font: inherit;
  font-size: smaller;
  font-weight: bold;
  line-height: 1.2;
  width: 100%;
  border: none;
  border-radius: 0.25em;
  box-shadow: inset 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.5);
  padding: 0.25em 0.5em 0.25em;
}
.input::-moz-placeholder {
  font-weight: normal;
  opacity: 0.5;
}
.input::placeholder {
  font-weight: normal;
  opacity: 0.5;
}

.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;
}
.side-container > * {
  pointer-events: all;
}

.side-btn {
  display: block;
  margin-left: auto;
  margin-right: 0.25em;
  width: 3.15em;
  opacity: 1;
  transition: opacity 0.5s;
}
@media (max-width: 900px) {
  .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}

.form-grid {
  display: grid;
  grid-template-rows: 5.6fr 3.8fr 3fr;
  gap: 0.25em;
  width: 15.25em;
  height: 11.25em;
  margin: 0.25em auto;
  padding: 0 0.5em 0.1em 2.25em;
  align-items: center;
  background: url(../_img/content-01.png) top/100% 100%;
}
.form-grid h4 {
  font-size: 0.6667em;
  text-align: center;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto 0.2em;
  padding: 0 0.5em 0.1em;
  line-height: 1.2;
  color: #ffce80;
  border: 0.1em solid transparent;
  border-radius: 1em;
  background: linear-gradient(#c40302, #e4261a) padding-box, linear-gradient(#ffe8c3, #ffd799) center/120% 120%;
  box-shadow: inset 0 0.1em 0.1em rgba(0, 0, 0, 0.5), 0 0.1em #c8935a;
  text-shadow: 0 0.05em 0.1em rgba(0, 0, 0, 0.5);
}
.form-grid p {
  text-align: center;
  width: 100%;
  font-size: 0.55em;
  margin: 0.15em auto;
}

.prize-grid {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 0.25em;
  width: 15.25em;
  height: 19.05em;
  margin: 0.25em auto;
  padding: 0 4.75em 0.1em 3.65em;
  align-items: center;
  background: url(../_img/content-02.png) top/100% 100%;
}
.prize-grid p {
  width: 100%;
  font-size: 0.55em;
}

#rules ul, #rules ol {
  text-align: justify;
  font-size: 0.4em;
  font-size: clamp(12px, 0.47em, 30px);
  font-weight: 400;
  padding-left: 1.5em;
  padding-right: 0.25em;
  margin: 0.75em auto;
  line-height: 1.25;
}
#rules li {
  position: relative;
}
#rules li + li {
  margin-top: 0.35em;
}

#window-prize h3 {
  position: relative;
  z-index: 1;
}

#window-privacy ol {
  text-align: justify;
  padding: 0 0.25em;
}
#window-privacy ol li {
  display: inline;
  counter-increment: list-item;
}
#window-privacy ol li::before {
  content: "(" counter(list-item) ") ";
}

/*==============*/
/* MODAL STYLES */
.modal {
  font: 600 60px/1.5 "Noto Sans TC", 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.4em;
  top: -0.75em;
  width: 2.25em;
  height: 2.25em;
  border: 0.2em solid #c59264;
  border-radius: 100%;
  background: #ffe4af;
  color: #452715;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: filter 0.2s;
}
.modal .btn-close::before, .modal .btn-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15%;
  height: 60%;
  transform: translate(-50%, -50%) skewX(32deg);
  background: currentColor;
  border-radius: 0.05em;
}
.modal .btn-close::after {
  transform: translate(-50%, -50%) skewX(-32deg);
}
.modal .btn-close:hover, .modal .btn-close:focus, .modal .btn-close:active {
  filter: brightness(1.1) drop-shadow(0 0.15em 0.1em rgba(24, 8, 24, 0.65));
}

.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.5em;
}
.modal-content h3 {
  font-size: smaller;
  line-height: 1.2;
  margin: 0.5em 0.25em;
  color: #fff;
  --outline-color: #704117;
  --outline-width: .08em;
}
.modal-content p {
  font-size: 0.6em;
  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 */