@charset "UTF-8";
.colorWhite {
  color: #efefef;
}

.highlight {
  color: #fcdd6c !important;
}

#footer .foot-qpp {
  background-image: url("../../../img/icon_qpp-black.png");
}

html,
body {
  background: linear-gradient(to bottom, #e3d6ce 0%, #e3d6ce 30%, #e3d6ce 50%, #fcb088 90%, #fcb088 90%);
  color: #040971;
}

@media (max-width: 500px) {
  #article {
    width: 104%;
    left: -2%;
    position: relative;
  }
}

#main {
  overflow: hidden;
}

#header {
  background-color: #fcb088;
}

#socials {
  filter: drop-shadow(0 0.05em 0.15em rgba(0, 0, 0, 0.5));
  z-index: 3;
}
@media (max-width: 1000px) {
  #socials {
    position: relative;
    left: 0;
    filter: none;
    background-color: #fcb088;
    top: 0;
  }
  #socials .side-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

#footer {
  z-index: 3;
  position: absolute;
  background-color: #fcb088;
}
@media (max-width: 1000px) {
  #footer {
    position: relative;
  }
}

small {
  font-size: 0.9em;
}

img {
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
}

.wrapper {
  width: 100%;
  position: relative;
}

.fw-b {
  font-weight: bold !important;
}

.t-c {
  text-align: center !important;
}

.t-l {
  text-align: left !important;
}

.relative {
  position: relative;
}

.z2 {
  z-index: 2;
}

.d-block {
  display: block;
}

@media (max-width: 1000px) {
  .d-lg-none {
    display: none;
  }
}

/*==============*/
/* PAGE CONTENT */
.container {
  padding-left: 15px;
  padding-right: 15px;
  width: 1000px !important;
  margin: auto;
  position: relative;
}
@media (max-width: 1000px) {
  .container {
    width: 100% !important;
  }
}

.bg-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  width: 32em;
  height: 110%;
  margin: 0 auto;
  overflow: visible;
  user-select: none;
  pointer-events: none;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -5;
}
.bg-area .repeat {
  flex: 1 1 auto;
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  z-index: 1;
  position: absolute;
  top: 11em;
  left: 0;
  right: 0;
  height: 100%;
}
.bg-area img {
  width: 100%;
  display: block;
  object-fit: cover;
  position: relative;
}

.btn {
  font-size: 1em;
  display: flex;
  justify-content: center;
  outline: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transition: filter 0.2s ease-out, background-image 0.2s;
}
.btn.btn-goYoe {
  width: 11em;
  height: 2.9em;
}

.textBtn {
  display: inline-block;
  cursor: pointer;
}

#main-banner {
  position: relative;
}
#main-banner .banner-img {
  top: 0.2em;
  right: 0;
  left: 0;
  margin: 1.8em auto 0;
  position: relative;
  z-index: 2;
}
#main-banner .dec {
  width: auto;
  position: absolute;
  z-index: 1;
}
#main-banner .dec.dec-1 {
  right: 0.9em;
  top: 0.5em;
}
#main-banner .dec.dec-1 img {
  animation: floating 2.5s ease-in-out infinite;
}
@media (max-width: 1350px) {
  #main-banner {
    width: 100% !important;
    margin: auto;
  }
  #main-banner .banner-img {
    width: 77.6%;
    left: -2%;
  }
  #main-banner .dec.dec-1 {
    right: 3.4em;
    top: 0.5em;
    width: 27%;
  }
}
@media (max-width: 1200px) {
  #main-banner .banner-img {
    width: 100%;
    left: -0;
  }
  #main-banner .dec.dec-1 {
    right: 5vw;
    top: 0.5em;
    width: 36%;
  }
  #main-banner .dec.dec-1 img {
    animation: floating 3s ease-in-out infinite;
  }
}
@media (max-width: 900px) {
  #main-banner .dec.dec-1 {
    width: 35vw;
    right: 5vw;
  }
}

#section-intro {
  margin-top: 0.4em;
  margin-bottom: 0;
}

.c-title {
  width: 69%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0.2em;
  z-index: 2;
  margin: auto;
}
@media (max-width: 769px) {
  .c-title {
    top: 0.15em;
  }
}

section {
  width: 100%;
  position: relative;
  margin-bottom: 1em;
}
section p {
  color: #040971;
  font-size: .5em;
  line-height: 1.5;
  margin-bottom: 0.5em;
  margin-top: 0;
}
section p small {
  font-size: 0.9em;
}
section p strong {
  font-weight: bold;
}
@media (max-width: 768px) {
  section p {
    font-size: 0.56em;
  }
}

.yoe-link {
  width: 3em;
  height: 1em;
  left: 0.2em;
  right: 0;
  bottom: 2.7em;
  margin: auto;
  position: absolute;
  z-index: 2;
  position: absolute;
}

@keyframes btnPointer {
  0% {
    transform: none;
  }

  50% {
    transform: translate(0.13em, 0.13em);
  }
}
.goChange {
  position: relative;
  margin-top: .5em;
}
.goChange .box {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
}
.goChange .box .inputbox {
  position: relative;
  box-shadow: 0 0 8px #b5b5b5 inset;
  border: navajowhite;
  margin-right: 1%;
  width: 56%;
  height: 90%;
  font-size: 0.5em;
  padding: 0 .8em;
  box-sizing: border-box;
  top: 5%;
}
.goChange .box .btn {
  width: 6.6em;
  height: 1.6em;
  background-image: url(../../../img/Event/202410-OKmart-Stored/btn-record-1.png);
  margin: 0;
}
.goChange .box .btn:hover {
  background-image: url(../../../img/Event/202410-OKmart-Stored/btn-record-2.png);
}
.goChange ::placeholder {
  color: #949494;
}
.goChange .tip {
  position: relative;
  color: #754012;
  font-size: 0.5em;
  display: block;
  text-align: center;
  width: 100%;
  font-style: italic;
  margin-top: .2em;
  font-weight: 500;
}

#rules {
  margin-bottom: 0.5em;
  margin-top: 145px;
  z-index: 1;
}
#rules::before, #rules::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
}
#rules::before {
  width: 32em;
  height: 108px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-image: url(../../../img/Event/202410-OKmart-Stored/bg-bottom.png);
  left: 50%;
  transform: translateX(-50%);
  top: -108px;
  z-index: 2;
}
#rules::after {
  width: 100%;
  height: 100%;
  bottom: -0;
  background-color: #fcb088;
  z-index: 1;
}
#rules .title img {
  margin-left: -16px;
}
@media (max-width: 768px) {
  #rules .title {
    width: 20%;
  }
}
#rules .container {
  top: -108px;
  margin-bottom: 60px;
}
#rules ul,
#rules ol {
  font-size: 0.4em;
  color: #681d00;
  font-weight: 400;
  text-align: justify;
  padding-left: 2.2em;
  padding-right: 0.9em;
  margin: 0 auto;
  margin-top: 1em;
  line-height: 2;
}
#rules ul li,
#rules ol li {
  position: relative;
}
#rules ul span,
#rules ul a,
#rules ol span,
#rules ol a {
  text-decoration: underline;
}
@media (max-width: 1000px) {
  #rules {
    margin-top: 10vw;
    margin-bottom: 0;
  }
  #rules .title {
    width: 20%;
  }
  #rules .title img {
    margin-left: -0.5vw;
  }
  #rules .container {
    top: -2vw;
    margin-bottom: 0;
  }
  #rules::before {
    background-size: auto 100%;
    height: 12vw;
    top: -6vw;
  }
  #rules::after {
    height: calc(100% - 5vw);
  }
  #rules ol,
  #rules ul {
    font-size: 0.55em;
  }
}

.side-container {
  position: fixed;
  left: 50.5%;
  transform: translate(-50%);
  top: 3em;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 26em;
  display: none;
}
.side-container .side-btn {
  pointer-events: all;
  display: block;
  margin-left: auto;
  margin-right: 1.2em;
  width: 3.15em;
  opacity: 1;
  transition: opacity .5s;
}
@media (max-width: 1350px) {
  .side-container .side-btn {
    margin-right: 0.2em;
  }
}
@media (max-width: 1200px) {
  .side-container .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}

#window-prize .pic {
  width: 40%;
}
#window-prize .text {
  width: 60%;
}
#window-prize .prize {
  font-size: 0.85em;
}
#window-prize .tip {
  font-size: 0.5em;
  text-indent: -1.1em;
  text-align: left;
  margin-left: 1.5em;
  margin-top: 1em;
}
@media (max-width: 768px) {
  #window-prize .prize {
    font-size: 0.72em;
  }
  #window-prize .tip {
    font-size: 0.6em;
  }
}

.serial-modal .machine-body {
  padding-top: 0 !important;
}
.serial-modal .prize-serial {
  width: 70%;
  max-width: 530px;
  margin-top: 0.4em;
  margin-bottom: 0.3em;
}
.serial-modal .pic {
  width: 35%;
  filter: drop-shadow(2px 3px 6px #0e005d);
}
.serial-modal .text {
  width: 64%;
  padding-left: 0.5em;
}
.serial-modal .text .serial {
  color: #fff;
  font-size: 0.56em;
}
.serial-modal .text.big {
  width: 80%;
}
.serial-modal .text.big .id {
  width: 1.6em;
  display: inline-block;
}
.serial-modal .text.big .serial {
  font-size: 0.6em;
}
.serial-modal .text.is-hasScroll {
  max-height: 61vh;
  min-height: 55px;
  overflow-y: auto;
  padding-right: 0.2em;
}
.serial-modal .text .btn-copy {
  font-size: 0.35em;
  font-weight: bold;
  color: #040971;
  border: 2px solid #040971;
  border-radius: 99em;
  padding: 4px 15px;
  background-color: #b5b5b6;
  transition: background-color 0.2s;
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.serial-modal .text .btn-copy:hover {
  background-color: #e7e7e7;
}
@media (max-width: 768px) {
  .serial-modal .text {
    width: 64%;
  }
  .serial-modal .text .row {
    margin-bottom: 5px;
  }
  .serial-modal .text.big {
    width: 100%;
  }
  .serial-modal .text.is-hasScroll {
    min-height: auto;
  }
  .serial-modal .text.is-small .btn-copy {
    width: 60%;
    margin: 6px auto 0 auto;
    font-size: 13px;
    font-weight: bold;
    padding-bottom: 6px;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-button {
  background: transparent;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  box-shadow: transparent;
}

::file-selector-button {
  font-weight: normal;
  color: #f5f5f5;
  line-height: 1.5;
  background-color: #4b0000;
  border: 2px dashed #810306;
}

#window-record .przieBox {
  width: 80%;
  margin: auto;
  margin-bottom: 10px;
}
#window-record .przieBox .prize {
  width: 60%;
  color: #fff;
  font-size: 0.65em;
}
#window-record .przieBox .text-sent {
  width: 40%;
  font-size: 0.6em;
  color: #efefef;
  text-shadow: -3px -3px 0 #2a2a2a, -3px -2px 0 #2a2a2a, -3px -1px 0 #2a2a2a, -3px 0px 0 #2a2a2a, -3px 1px 0 #2a2a2a, -3px 2px 0 #2a2a2a, -3px 3px 0 #2a2a2a, -2px -3px 0 #2a2a2a, -2px -2px 0 #2a2a2a, -2px -1px 0 #2a2a2a, -2px 0px 0 #2a2a2a, -2px 1px 0 #2a2a2a, -2px 2px 0 #2a2a2a, -2px 3px 0 #2a2a2a, -1px -3px 0 #2a2a2a, -1px -2px 0 #2a2a2a, -1px -1px 0 #2a2a2a, -1px 0px 0 #2a2a2a, -1px 1px 0 #2a2a2a, -1px 2px 0 #2a2a2a, -1px 3px 0 #2a2a2a, 0px -3px 0 #2a2a2a, 0px -2px 0 #2a2a2a, 0px -1px 0 #2a2a2a, 0px 0px 0 #2a2a2a, 0px 1px 0 #2a2a2a, 0px 2px 0 #2a2a2a, 0px 3px 0 #2a2a2a, 1px -3px 0 #2a2a2a, 1px -2px 0 #2a2a2a, 1px -1px 0 #2a2a2a, 1px 0px 0 #2a2a2a, 1px 1px 0 #2a2a2a, 1px 2px 0 #2a2a2a, 1px 3px 0 #2a2a2a, 2px -3px 0 #2a2a2a, 2px -2px 0 #2a2a2a, 2px -1px 0 #2a2a2a, 2px 0px 0 #2a2a2a, 2px 1px 0 #2a2a2a, 2px 2px 0 #2a2a2a, 2px 3px 0 #2a2a2a, 3px -3px 0 #2a2a2a, 3px -2px 0 #2a2a2a, 3px -1px 0 #2a2a2a, 3px 0px 0 #2a2a2a, 3px 1px 0 #2a2a2a, 3px 2px 0 #2a2a2a, 3px 3px 0 #2a2a2a;
}
@media (max-width: 991px) {
  #window-record .przieBox .text-sent {
    text-shadow: -2px -2px 0 #2a2a2a, -2px -1px 0 #2a2a2a, -2px 0px 0 #2a2a2a, -2px 1px 0 #2a2a2a, -2px 2px 0 #2a2a2a, -1px -2px 0 #2a2a2a, -1px -1px 0 #2a2a2a, -1px 0px 0 #2a2a2a, -1px 1px 0 #2a2a2a, -1px 2px 0 #2a2a2a, 0px -2px 0 #2a2a2a, 0px -1px 0 #2a2a2a, 0px 0px 0 #2a2a2a, 0px 1px 0 #2a2a2a, 0px 2px 0 #2a2a2a, 1px -2px 0 #2a2a2a, 1px -1px 0 #2a2a2a, 1px 0px 0 #2a2a2a, 1px 1px 0 #2a2a2a, 1px 2px 0 #2a2a2a, 2px -2px 0 #2a2a2a, 2px -1px 0 #2a2a2a, 2px 0px 0 #2a2a2a, 2px 1px 0 #2a2a2a, 2px 2px 0 #2a2a2a;
  }
}
#window-record .przieBox .btn-checkSerial {
  width: 34%;
  padding-bottom: 10.2%;
  filter: drop-shadow(3px 0 3px #00306e);
  background-image: url(https://www.xin-stars.com/img/Event/202410-OKmart-Stored//prize/btn-serial-1.png?v=1);
}
#window-record .przieBox .btn-checkSerial:hover {
  background-image: url(https://www.xin-stars.com/img/Event/202410-OKmart-Stored//prize/btn-serial-2.png?v=1);
}
@media (max-width: 1000px) {
  #window-record .przieBox {
    width: 94%;
    left: 4%;
  }
  #window-record .przieBox .btn-checkSerial {
    width: 38%;
    padding-bottom: 11.2%;
  }
}

.event-modal {
  font: 400 60px/1.5 "Noto Sans TC", "微軟正黑體", Arial, Helvetica, sans-serif;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.25s;
}
.event-modal.is-active {
  z-index: 99;
  opacity: 1;
  pointer-events: auto;
}
.event-modal.is-active .modal-window {
  pointer-events: auto;
}
@media (max-width: 1000px) {
  .event-modal {
    font-size: 6vw;
  }
}
.event-modal .mask {
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
}
@supports (backdrop-filter: blur(0.1rem)) {
  .event-modal .mask {
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    transition: backdrop-filter 0.5s ease-out;
  }
}
.event-modal .btn-close {
  width: 6em;
  height: 6em;
  display: block;
  position: absolute;
  z-index: 2;
  right: -0.5em;
  top: 1.7em;
  border: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-color: transparent;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.event-modal .btn-close::before, .event-modal .btn-close::after {
  display: none;
}
.event-modal .btn-close:hover {
  transform: scale(1.1);
  filter: brightness(1.1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
}
@media (max-width: 768px) {
  .event-modal .btn-close {
    width: 3.5em;
    height: 3.5em;
    top: 0.5em;
  }
}
.event-modal .modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}
.event-modal .modal-overflow::-webkit-scrollbar {
  width: 0px;
}
.event-modal .c-title {
  width: 8.9em;
  top: -2.4em;
}
@media (max-width: 1000px) {
  .event-modal .c-title {
    top: -2.42em;
  }
}
.event-modal .modal-window {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 1000px;
  width: 94%;
  min-height: 6em;
  margin: 1.5em auto 1.2em;
  line-height: 1.4;
  overflow: visible;
  pointer-events: none;
}
@media (max-width: 1000px) {
  .event-modal .modal-window {
    margin-top: 2em;
  }
}
.event-modal .modal-content {
  position: relative;
  z-index: 1;
  min-height: 5em;
}
.event-modal .modal-content p {
  font-size: 0.75em;
  font-weight: normal;
}
.event-modal .modal-content p a {
  color: #fe6feb;
  text-decoration: underline;
}
@media (max-width: 1000px) {
  .event-modal .modal-content p {
    font-size: 0.7em;
  }
}
.event-modal .machine-head {
  width: 96%;
  right: -0.3em;
  bottom: -0.3em;
  margin-top: 0;
}
.event-modal .machine-body {
  background-color: #929cff;
  background-image: linear-gradient(#7c86ff 2px, transparent 2px), linear-gradient(to right, #7c86ff 2px, #929cff 2px);
  border: 3px solid #040971;
  box-shadow: inset 0 0 0 5px #a5adff;
  padding: 1em 0.5em 0.7em 0.5em;
}
.event-modal .machine-body::after {
  display: none;
}
@media (max-width: 768px) {
  .event-modal .machine-body {
    font-size: 1.2em;
    box-shadow: inset 0 0 0 3px #a5adff;
    padding: 0.5em 0.3em 0.5em 0.3em;
  }
}
.event-modal .border {
  color: #fff;
  background-color: #521eff;
  box-shadow: inset 2px 2px 0 2px #6764ff;
  padding-top: 0.7em;
  padding-bottom: 0.6em;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
@media (max-width: 768px) {
  .event-modal .border {
    box-shadow: inset 1px 2px 0 1px #6764ff;
  }
}
.event-modal .remark-box {
  background-color: #fff;
  border-left: 3px solid #040971;
  border-right: 3px solid #040971;
  border-bottom: 3px solid #040971;
  padding: 0.5em;
  word-break: break-all;
}
.event-modal .remark-box p {
  color: #00306e;
  font-size: 0.48em;
  font-weight: bold;
  text-align: left;
}
.event-modal .btn-goYoe {
  width: 11em;
  height: 2.9em;
}

/* ==================== */
/* JS ANIMATION CLASSES */
@keyframes btnPlay {
  0% {
    background-image: url("https://www.xin-stars.com/img/Event/202410-OKmart-Stored/btn-download_1.png?v");
  }

  50% {
    background-image: url("https://www.xin-stars.com/img/Event/202410-OKmart-Stored/btn-download_2.png?v");
  }
}
.fade-scale {
  transform: scale(1.5) translateY(-3em);
  opacity: 0;
  transition: opacity 0.8s, transform 0.4s ease-out;
}
.fade-scale.faded {
  transform: scale(1);
  opacity: 1;
}

.fade-down {
  transform: translateY(-3em);
  opacity: 0;
  transition: opacity 1s, transform 0.6s ease-out;
}
.fade-down.faded {
  transform: none;
  opacity: 1;
}

.fade-up {
  transform: translateY(2em);
  opacity: 0;
  transition: opacity 0.6s, transform 0.6s ease-out;
}
.fade-up.faded {
  transform: none;
  opacity: 1;
}

.fade-in {
  opacity: 0;
  transition: opacity 1.6s;
}
.fade-in.faded {
  opacity: 1;
}

.fade-left {
  opacity: 0;
  transform: translateZ(0) translateX(-100px);
  transition: opacity 1s, transform 1s;
}
.fade-left.faded {
  opacity: 1;
  transform: translateZ(0) translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateZ(0) translateX(100px);
  transition: opacity 1s, transform 1s;
}
.fade-right.faded {
  opacity: 1;
  transform: translateZ(0) translateY(0);
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}

.d5 {
  transition-delay: 0.5s;
}

.d6 {
  transition-delay: 0.6s;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
  }
}

/*# sourceMappingURL=main.css.map */