@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap");
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.game-state {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  margin: 0 auto;
  padding: 1em;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: 0 3px 3px rgb(255, 255, 255) inset, 0 -3px 3px rgb(255, 255, 255) inset;
          box-shadow: 0 3px 3px rgb(255, 255, 255) inset, 0 -3px 3px rgb(255, 255, 255) inset;
  border-radius: 2.25em;
}
.game-state.end::before, .game-state.unstart::before {
  content: "";
  position: absolute;
  display: block;
}
.game-state.end .button-group, .game-state.unstart .button-group {
  display: none;
}
.game-state.end .game li img, .game-state.unstart .game li img {
  -webkit-filter: grayscale(80%);
          filter: grayscale(80%);
}
.game-state.end::before {
  content: "";
  background-image: url("../images/end.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  max-width: 426px;
  width: 100%;
  height: 268px;
  z-index: 2;
}
.game-state.unstart::before {
  content: "";
  background-image: url("../images/unstart.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  max-width: 426px;
  width: 100%;
  height: 268px;
  z-index: 2;
}
.game-state.unstart .tickets {
  display: none;
}

.game-interface {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0.5em;
  background-color: #53326e;
  -webkit-box-shadow: 0 3px 2px #7a519c inset;
          box-shadow: 0 3px 2px #7a519c inset;
  border-radius: 1.25em;
}

.game-interface-bg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  color: #53326e;
  font-weight: bold;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.game {
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
  width: 100%;
}
.game li {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align: center;
  max-width: 156px;
  width: 100%;
}
.game li img {
  width: 100%;
  -webkit-filter: grayscale(80%);
          filter: grayscale(80%);
  -webkit-transform: scale(0.92);
          transform: scale(0.92);
  -webkit-transition: -webkit-filter 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: -webkit-filter 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out, -webkit-filter 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.game li.active img {
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
  -webkit-transform: scale(1);
          transform: scale(1);
}
.game li.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/game/border.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}

#ticketsText {
  display: inline-block;
  padding: 0 0.25em;
  line-height: 1.25;
  background-color: white;
  border-radius: 5px;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.button-group {
  padding: 0.5em 0;
}
.button-group #play {
  display: inline-block;
  padding: 0.215em 0.5em 0.3em 0.5em;
  color: #ffcc40;
  background-color: #53326e;
  border: none;
  border-radius: 1em;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  cursor: pointer;
  -webkit-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.button-group #play:hover {
  color: #ffcc40;
  background-color: black;
}
.button-group #play:disabled {
  color: #b8916c;
  background-color: #e6c3a1;
  cursor: not-allowed;
}

.memberStatus .member-login {
  display: block;
}
.memberStatus .member-logout {
  padding: 0.2em 0;
  font-size: 0.9em;
  display: none;
}
.memberStatus.logout .member-login {
  display: none;
}

.memberStatus,
.tickets {
  width: 70%;
  text-align: center;
}

.tickets {
  padding: 0.2em 0;
  border-bottom: 5px solid #e6c3a1;
}

.member-login-btn {
  display: inline-block;
  padding: 0.2em 0.5em;
  font-size: 1em;
  color: #ffcc40;
  background-color: #53326e;
  border: none;
  border-radius: 1em;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  cursor: pointer;
}

.member-logout-btn {
  display: inline-block;
  padding: 0.25em 0.5em;
  font-size: 0.6em;
  color: #ffcc40;
  background-color: #53326e;
  border: none;
  border-radius: 1em;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  cursor: pointer;
}

.button-group {
  gap: 0.25em;
}

.gift-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5em;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  width: 90%;
}
.gift-items li {
  padding: 0.25em;
  border: 1px solid #7e4fa4;
  border-radius: 0.25em;
}
.gift-items li .gift-img {
  margin: 0 auto;
  padding: 0 1em;
  max-width: calc(200px + 2em);
  min-width: calc(35px + 2em);
  width: 100%;
}
.gift-items li .gift-img img {
  -webkit-animation: jump 1s infinite;
          animation: jump 1s infinite;
  border-radius: 1em;
}

@-webkit-keyframes jump {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes jump {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@media only screen and (min-width: 0px) {
  .game {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .game li:nth-child(1) {
    grid-area: 1/1;
  }
  .game li:nth-child(2) {
    grid-area: 1/2;
  }
  .game li:nth-child(3) {
    grid-area: 1/3;
  }
  .game li:nth-child(4) {
    grid-area: 1/4;
  }
  .game li:nth-child(5) {
    grid-area: 2/4;
  }
  .game li:nth-child(6) {
    grid-area: 3/4;
  }
  .game li:nth-child(7) {
    grid-area: 4/4;
  }
  .game li:nth-child(8) {
    grid-area: 5/4;
  }
  .game li:nth-child(9) {
    grid-area: 6/4;
  }
  .game li:nth-child(10) {
    grid-area: 6/3;
  }
  .game li:nth-child(11) {
    grid-area: 6/2;
  }
  .game li:nth-child(12) {
    grid-area: 6/1;
  }
  .game li:nth-child(13) {
    grid-area: 5/1;
  }
  .game li:nth-child(14) {
    grid-area: 4/1;
  }
  .game li:nth-child(15) {
    grid-area: 3/1;
  }
  .game li:nth-child(16) {
    grid-area: 2/1;
  }
  .button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .memberStatus.logout .member-logout {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border-bottom: 5px solid #e6c3a1;
  }
  .game-interface {
    width: 40%;
    height: 60%;
  }
  .game-interface-bg {
    font-size: 1.25em;
    background-image: url("../images/border-m.png");
  }
}
@media only screen and (min-width: 500px) {
  .game {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
  .game li:nth-child(1) {
    grid-area: 1/1;
  }
  .game li:nth-child(2) {
    grid-area: 1/2;
  }
  .game li:nth-child(3) {
    grid-area: 1/3;
  }
  .game li:nth-child(4) {
    grid-area: 1/4;
  }
  .game li:nth-child(5) {
    grid-area: 1/5;
  }
  .game li:nth-child(6) {
    grid-area: 2/5;
  }
  .game li:nth-child(7) {
    grid-area: 3/5;
  }
  .game li:nth-child(8) {
    grid-area: 4/5;
  }
  .game li:nth-child(9) {
    grid-area: 5/5;
  }
  .game li:nth-child(10) {
    grid-area: 5/4;
  }
  .game li:nth-child(11) {
    grid-area: 5/3;
  }
  .game li:nth-child(12) {
    grid-area: 5/2;
  }
  .game li:nth-child(13) {
    grid-area: 5/1;
  }
  .game li:nth-child(14) {
    grid-area: 4/1;
  }
  .game li:nth-child(15) {
    grid-area: 3/1;
  }
  .game li:nth-child(16) {
    grid-area: 2/1;
  }
  .button-group {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: initial;
    -webkit-box-direction: initial;
        -ms-flex-direction: initial;
            flex-direction: initial;
  }
  .memberStatus.logout .member-logout {
    display: block;
    -webkit-box-orient: initial;
    -webkit-box-direction: initial;
        -ms-flex-direction: initial;
            flex-direction: initial;
  }
  .game-interface {
    width: 50%;
    height: 50%;
  }
  .game-interface-bg {
    font-size: 1.75em;
    background-image: url("../images/border.png");
  }
}
@media only screen and (min-width: 900px) {
  .game {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
  .game li:nth-child(1) {
    grid-area: 1/1;
  }
  .game li:nth-child(2) {
    grid-area: 1/2;
  }
  .game li:nth-child(3) {
    grid-area: 1/3;
  }
  .game li:nth-child(4) {
    grid-area: 1/4;
  }
  .game li:nth-child(5) {
    grid-area: 1/5;
  }
  .game li:nth-child(6) {
    grid-area: 1/6;
  }
  .game li:nth-child(7) {
    grid-area: 2/6;
  }
  .game li:nth-child(8) {
    grid-area: 3/6;
  }
  .game li:nth-child(9) {
    grid-area: 4/6;
  }
  .game li:nth-child(10) {
    grid-area: 4/5;
  }
  .game li:nth-child(11) {
    grid-area: 4/4;
  }
  .game li:nth-child(12) {
    grid-area: 4/3;
  }
  .game li:nth-child(13) {
    grid-area: 4/2;
  }
  .game li:nth-child(14) {
    grid-area: 4/1;
  }
  .game li:nth-child(15) {
    grid-area: 3/1;
  }
  .game li:nth-child(16) {
    grid-area: 2/1;
  }
  .game-interface {
    width: 60%;
    height: 40%;
  }
  .game-interface-bg {
    font-size: 2.25em;
  }
}
.atm-content li .atm-icon,
.atm-content li .atm-text,
.atm-content li .atm-1000point {
  opacity: 0;
  visibility: hidden;
}

.time {
  opacity: 0;
  visibility: hidden;
}

.timedate li {
  opacity: 0;
  visibility: hidden;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:focus {
  outline: 0;
}

html,
body {
  padding: 0;
  height: 100%;
  color: black;
  font-family: "Microsoft JhengHei", "微軟正黑體", arial, sans-serif !important;
  font-size: 16px;
  background-color: #bcc6dc;
  scroll-behavior: smooth;
  word-wrap: break-word;
}

/* 清除圖片底部的空白 */
img,
svg {
  vertical-align: middle;
  border: none;
  outline: none;
}

/* 取消預設斜體 */
i,
em,
cite,
dfn,
var,
address {
  font-style: normal;
}

/* 等寬字體 */
code,
pre,
samp,
kbd,
var {
  font-family: "Source Code Pro", monospace;
}

figure {
  margin: 0;
}

table.table {
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}
table.table tr {
  border-bottom: 1px solid white;
  background-color: rgba(255, 255, 255, 0.15);
}
table.table tr th, table.table tr td {
  padding: 8px 1em;
  font-size: 1.125rem;
}
table.table tr th {
  background-color: white;
}
table.table tr td {
  color: #3f3f42;
  text-align: left;
}
table.table tr td:nth-of-type(2) {
  text-align: center;
}

/* 自定義的通用樣式 */
html, body.root {
  overflow-x: hidden;
}

.root {
  word-wrap: break-word;
  background-image: url(../images/bg.png);
  background-repeat: no-repeat;
  background-position: top center;
}

.ossian {
  position: relative;
  margin: 0 auto;
  min-height: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.container {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
}

.break {
  word-break: break-all;
}

.fixed {
  position: fixed;
}

.site-title {
  margin: 0 auto;
  padding: 1em;
  max-width: calc(736px + 2em);
  width: 100%;
}
.site-title img {
  width: 100%;
}

.aside {
  position: relative;
  padding: 0 1.5em;
  position: fixed;
  top: 0;
  min-width: 250px;
  height: 100%;
  border-right: 1px solid #ffcc40;
  background-color: rgba(0, 0, 0, 0.65);
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  z-index: 2;
}
.aside .icon {
  display: none;
  position: absolute;
  top: 20px;
  right: -40px;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.aside.close .icon {
  background-image: url(../images/list.png);
}
.aside .icon {
  background-image: url(../images/close.png);
}

.main {
  position: relative;
  font-size: 1.5em;
  z-index: 1;
}
.main.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100vh;
}

.cover {
  margin: 0 auto;
  width: 100%;
  max-width: 580px;
  line-height: 1.5;
}

.anim {
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: opacity 1.3s, -webkit-transform 0.3s;
  transition: opacity 1.3s, -webkit-transform 0.3s;
  transition: transform 0.3s, opacity 1.3s;
  transition: transform 0.3s, opacity 1.3s, -webkit-transform 0.3s;
}
.anim.fade-in {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}

.map-title {
  padding: 2rem 0;
  text-align: center;
}
.map-title h2 {
  margin: 0;
  padding: 1em 0;
  font-size: 2.25rem;
  color: #ffcc40;
  background-image: url(../images/h2-bg.png);
  background-repeat: no-repeat;
  background-position: center;
}
.map-title h6 {
  margin: 0;
  padding: 1em 0 0;
  font-size: 0.85em;
  color: black;
}
.map-title h6 em {
  display: inline-block;
  padding: 0.25em;
  color: #ff4063;
  background-color: white;
  border-radius: 3px;
}

h3::before {
  content: "✦";
  display: inline-block;
  padding-right: 0.25em;
  color: #ffcc40;
}

.map {
  margin: 0 auto;
  padding: 0;
  font-size: 1.5em;
  text-align: center;
  line-height: 1.5;
}

.slider {
  overflow: hidden;
  margin: 0 auto;
  max-width: 700px;
  border: 10px solid #ffcc40;
  border-radius: 20px;
}

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu li {
  width: 100%;
}
.menu li a {
  display: block;
  padding: 0.75em 0;
  color: white;
  font-size: 1.5em;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-transition: color 0.3s ease-in-out, botder-bottom 0.3s ease-in-out;
  transition: color 0.3s ease-in-out, botder-bottom 0.3s ease-in-out;
}
.menu li a.active, .menu li a:hover {
  color: #ffcc40;
  border-bottom: 1px solid #ffcc40;
}
.menu li a.active {
  border-bottom: 5px solid #ffcc40;
}
.menu li a.active::before {
  content: "🔶";
}
.menu li:nth-last-child(1) a {
  border-bottom: unset;
}

.logo-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  position: relative;
  text-align: center;
}

.rocketgames-logo {
  margin: 0;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.rocketgames-logo:hover {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}
.rocketgames-logo figure {
  max-width: 224px;
}
.rocketgames-logo figure img {
  width: 100%;
}

.mo-logo {
  margin: 0;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.mo-logo:hover {
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}
.mo-logo figure {
  max-width: 169px;
}
.mo-logo figure img {
  width: 100%;
}

.reward-title {
  padding-top: 2em;
  margin: 0 auto;
  max-width: 174px;
}
.reward-title img {
  width: 100%;
}

.link {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5em;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  list-style: none;
}
.link li a {
  display: block;
  padding: 0.5em 0.25em;
  text-align: center;
  -webkit-transition: background-color 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
          box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}
.link li a:hover {
  background-color: #ffcc40;
  -webkit-box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
}

.go-game {
  padding: 1em 0;
}
.go-game a {
  display: block;
  padding: 1rem;
  color: black;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background-color: #ffcc40;
  border-radius: 8px;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
.go-game a span {
  color: #ff4063;
}
.go-game a:hover {
  color: white;
}

.slide img {
  width: 100%;
}

.dropdown-position {
  position: relative;
  text-align: center;
  z-index: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  font-size: 1.625rem;
  text-align: center;
  color: black;
  border: 1px solid #ffcc40;
  background-color: #ffcc40;
  -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.5) inset;
          box-shadow: 0 1px 1px rgba(255, 255, 255, 0.5) inset;
  border-radius: 10px;
  cursor: pointer;
}
.dropdown:hover ul.dropdown-content {
  display: block;
}
.dropdown span {
  display: inline-block;
}
.dropdown span.down-icon {
  width: 50px;
  height: 1em;
  font-weight: bold;
  background-image: url(../images/down-icon.png);
  background-repeat: no-repeat;
  background-position: right 10px;
}

ul.dropdown-content {
  display: none;
  position: absolute;
  top: 2.85rem;
  left: 0;
  margin: 0;
  padding: 0.75rem;
  width: 100%;
  list-style: none;
  -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
          box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
  background-color: #e5fff2;
  z-index: 1;
}
ul.dropdown-content li {
  position: relative;
  padding: 0.25rem 0;
  margin: 0;
  border-bottom: 5px solid transparent;
  -webkit-transition: border-bottom-color 0.3s;
  transition: border-bottom-color 0.3s;
}
ul.dropdown-content li::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #ffcc40;
  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}
ul.dropdown-content li:hover::before {
  width: 100%;
}
ul.dropdown-content li a {
  display: block;
  color: black;
  text-decoration: none;
}

.petal {
  position: fixed;
  background: #ffd1dc;
  border-radius: 150% 0 150% 0;
  -webkit-animation: falling linear infinite;
          animation: falling linear infinite;
  z-index: 1;
  top: -20px;
}
.petal::after {
  content: "";
  position: absolute;
  top: -14%;
  left: -10%;
  display: block;
  width: 100%;
  height: 100%;
  background: #ffd1dc;
  border-radius: 150% 0 150% 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  opacity: 1;
}

@-webkit-keyframes falling {
  0% {
    -webkit-transform: translate(0, -10px) rotate(0deg);
            transform: translate(0, -10px) rotate(0deg);
    top: -20px;
  }
  50% {
    -webkit-transform: translate(150px, 50vh) rotate(180deg);
            transform: translate(150px, 50vh) rotate(180deg);
  }
  100% {
    -webkit-transform: translate(300px, 100vh) rotate(360deg);
            transform: translate(300px, 100vh) rotate(360deg);
  }
}

@keyframes falling {
  0% {
    -webkit-transform: translate(0, -10px) rotate(0deg);
            transform: translate(0, -10px) rotate(0deg);
    top: -20px;
  }
  50% {
    -webkit-transform: translate(150px, 50vh) rotate(180deg);
            transform: translate(150px, 50vh) rotate(180deg);
  }
  100% {
    -webkit-transform: translate(300px, 100vh) rotate(360deg);
            transform: translate(300px, 100vh) rotate(360deg);
  }
}
.text-table-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1em;
}

.text-table {
  overflow: hidden;
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  background-color: #e4e5f0;
}
.text-table tr:nth-last-child(1) td {
  padding-bottom: 1em;
  border-bottom: unset;
}
.text-table tr.red {
  color: #ff4063;
  background-color: white;
}
.text-table tr.red th {
  padding: 0.25em 0.75em;
  font-size: 1em;
}
.text-table tr td {
  padding: 0.25em 0.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: #525357;
}
.text-table tr td strong {
  font-weight: normal;
  color: black;
}

.text-group {
  margin: 0;
  padding: 0;
  list-style: none;
}
.text-group li {
  display: inline-block;
  padding: 0 0.5em;
  color: #2c2c2e;
  font-size: 0.8em;
  background-color: white;
  border-radius: 1em;
}

.equip-table {
  overflow: hidden;
  width: 100%;
  background-color: #e4e5f0;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}
.equip-table tr.red {
  color: #ff4063;
  background-color: white;
}
.equip-table tr.red th {
  padding: 0.25em 0.75em;
  font-size: 1em;
}
.equip-table tr td {
  padding: 0.25em 0.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.equip-table tr:nth-last-child(1) td {
  border-bottom: unset;
}

.reset-block {
  background-color: #e4e5f0;
  -webkit-backdrop-filter: blur(1.5em);
          backdrop-filter: blur(1.5em);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 1em;
  -webkit-box-shadow: 0 7px 5px -5px rgba(0, 0, 0, 0.1), 0 15px 10px -10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 7px 5px -5px rgba(0, 0, 0, 0.1), 0 15px 10px -10px rgba(0, 0, 0, 0.05);
}
.reset-block em {
  display: inline-block;
  padding: 0 0.25em;
  color: #9a3beb;
  font-weight: bold;
  background-color: white;
  border-radius: 3px;
}
.reset-block ul {
  margin: 0;
  padding: 0 0 0 1.25em;
}
.reset-block ul li {
  word-wrap: break-word;
  word-break: break-all;
}

.reset-table-block {
  overflow-y: hidden;
  overflow-x: auto;
}

.reset-table {
  overflow: hidden;
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  border-radius: 10px;
}
.reset-table.none {
  min-width: initial;
}
.reset-table thead tr {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.reset-table thead tr th {
  padding: 0.75em 0.5em;
  font-size: 0.8em;
  line-height: 1.125;
}
.reset-table tbody tr {
  background-color: #e4e5f0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
.reset-table tbody tr:nth-child(even) {
  background-color: #eff0fb;
}
.reset-table tbody tr td {
  padding: 0.5em 0.25em;
  font-size: 0.85em;
  color: #616b89;
  text-align: center;
  line-height: 1.125;
}
.reset-table tbody tr td:nth-of-type(1) {
  color: initial;
  font-size: 1em;
}
.reset-table tbody tr:nth-last-child(1) {
  border-bottom: unset;
}
.reset-table tbody.none tr td:nth-of-type(1) {
  color: #616b89;
  font-size: 0.85em;
}
.reset-table tbody.none tr td:nth-child(even) {
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

ul.ul-list {
  margin: 0 auto;
  padding: 0 1em;
  width: 100%;
  max-width: 400px;
  line-height: 1.5;
}

.mini-list {
  margin: 0.5em 0;
  padding-top: 0.75em;
  padding-bottom: 0.75em;
  padding-right: 1em;
  color: #616b89;
  font-size: 0.85em;
  border: 1px dashed #ffcc40;
  border-radius: 10px;
  -webkit-box-shadow: 0 3px 2px rgba(0, 0, 0, 0.05);
          box-shadow: 0 3px 2px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.5);
}
.mini-list.eng {
  list-style-type: lower-alpha;
}
.mini-list li em {
  display: inline-block;
  padding: 0 0.25em;
  color: initial;
  border-radius: 3px;
  background-color: initial;
}
.mini-list h4 {
  margin: 0;
  color: #ff4063;
}

.ji-pa {
  overflow: hidden;
  margin: 1em auto;
  max-width: 150px;
  border-radius: 50%;
}
.ji-pa img {
  width: 100%;
}

.slick-prev {
  left: -5px;
  width: 40px;
  height: 40px;
  background-image: url(../images/left.png);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #ffcc40;
  z-index: 1;
}
.slick-prev::before {
  content: "";
}

.slick-next {
  right: -5px;
  width: 40px;
  height: 40px;
  background-image: url(../images/right.png);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #ffcc40;
  z-index: 1;
}
.slick-next::before {
  content: "";
}

.slick-next:focus,
.slick-next:hover,
.slick-prev:focus,
.slick-prev:hover {
  background-color: #ffcc40;
}

.slick-next:focus,
.slick-next:hover {
  background-image: url(../images/right.png);
}

.slick-prev:focus,
.slick-prev:hover {
  background-image: url(../images/left.png);
}

.time-group {
  position: relative;
}

.time {
  margin: 0 auto;
  max-width: 173px;
  width: 100%;
}
.time img {
  width: 100%;
}

.timedate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1.75em;
  margin: 0;
  padding: 1em;
  list-style: none;
}
.timedate li img {
  width: 100%;
}
.timedate li:nth-child(1) {
  max-width: 202px;
  width: 100%;
}
.timedate li:nth-child(2) {
  max-width: 202px;
  width: 100%;
}
.timedate li:nth-child(3) {
  position: absolute;
  max-width: 60px;
  width: 100%;
  -webkit-transform: translateX(50%);
          transform: translateX(50%);
  -webkit-transform: translateY(calc(50% - 30px));
          transform: translateY(calc(50% - 30px));
}

.atm-group {
  position: relative;
  margin: 0 auto;
  padding: 1em;
  text-align: center;
  max-width: calc(716px + 2em);
}

.atm-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.atm-content li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 358px;
}

.atm-icon {
  max-width: 98px;
  width: 100%;
}
.atm-icon img {
  width: 100%;
}

.atm-text {
  max-width: 249px;
  width: 100%;
}
.atm-text img {
  width: 100%;
}

.atm-1000point {
  max-width: 260px;
  width: 100%;
}
.atm-1000point img {
  width: 100%;
}

.atm-lottery span::before, .atm-lottery span::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 0.8em;
  background-image: url(../images/atm/line.png);
  background-repeat: repeat-x;
  background-position: center;
}
.atm-lottery em {
  color: #9a3beb;
}

.rewards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 1em;
  position: relative;
  margin: 0 auto;
  list-style: none;
}
.rewards li {
  position: relative;
}

@-webkit-keyframes m1 {
  0% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
  }
  50% {
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
  }
}

@keyframes m1 {
  0% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
  }
  50% {
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
  }
}
@-webkit-keyframes m2 {
  0% {
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  50% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
  }
  100% {
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
}
@keyframes m2 {
  0% {
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  50% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
  }
  100% {
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
}
@-webkit-keyframes m3 {
  0% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  50% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
}
@keyframes m3 {
  0% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  50% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
}
@-webkit-keyframes m4 {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@keyframes m4 {
  0% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
.reward-box {
  position: absolute;
}
.reward-box figure img {
  width: 100%;
}

.amount {
  position: absolute;
  padding-top: 0.5em;
  left: calc(50% - 37px);
  width: 75px;
  height: 37px;
  color: white;
  font-weight: bold;
  text-align: center;
  background-image: url(../images/entity-rewards/amount-bg.png);
  background-repeat: no-repeat;
  background-position: center;
}

dl.rewards-note {
  margin: 0 auto;
  padding: 2em 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 1em;
  max-width: 1200px;
}
dl.rewards-note dd {
  margin: 0;
  padding: 0;
  width: 100%;
}

dl.note-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
}
dl.note-list dt {
  padding: 0.25em 1em;
  text-align: center;
  font-size: 1.875em;
  background-color: white;
}
dl.note-list dd {
  margin: 0;
  padding: 0;
  color: white;
  font-size: 1.125em;
  font-weight: bold;
  line-height: 2;
  background-color: #e48304;
}
dl.note-list dd ul {
  margin: 0;
  padding: 1em 1em 1em 2em;
}
dl.note-list dd ul li em {
  color: black;
}
dl.note-list dd ul li a {
  color: black;
  text-decoration: none;
  border-bottom: 1px dashed white;
}

table.table {
  overflow: hidden;
  border-radius: 20px;
}
table.table thead tr th {
  font-size: 1.25em;
}
table.table thead tr th:nth-child(1) {
  text-align: initial;
  border-top-left-radius: 20px;
}
table.table thead tr th:nth-last-child(1) {
  border-top-right-radius: 20px;
}
table.table tbody tr td {
  color: white;
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
table.table tbody tr td:nth-child(2), table.table tbody tr td:nth-child(3) {
  text-align: center;
}
table.table tbody tr td:nth-child(2) {
  color: #ffcc40;
}
table.table tr {
  background-color: #53326e;
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
table.table tr:hover {
  background-color: #ffcc40;
}
table.table tr:hover td {
  color: black;
}
table.table tr:hover td:nth-child(2) {
  color: unset;
}
table.table tr:nth-last-child(1) {
  border-bottom: initial;
}
table.table tr th, table.table tr td {
  padding: 0.435em 8px;
}

.footer-note {
  background-color: #53326e;
}
.footer-note article {
  margin: 0 auto;
  padding: 1em;
  max-width: 1200px;
}
.footer-note article hgroup h2 {
  color: white;
  text-align: center;
}
.footer-note article ul {
  padding: 0 0 0 1em;
  line-height: 1.75;
  color: #c2c3cc;
}
.footer-note article ul li a {
  color: #ffcc40;
}
.footer-note article ul li em, .footer-note article ul li u {
  color: white;
}
.footer-note article ul li blockquote {
  display: block;
  margin: 0;
  padding: 0.5em 1em;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.footer-note article ul li blockquote strong {
  color: #ffcc40;
}

.swal2-container {
  font-family: "Microsoft JhengHei", "微軟正黑體", arial, sans-serif !important;
}

div:where(.swal2-container) .swal2-html-container {
  margin: initial;
  padding: 0.5em 1em 1em 1em;
}

div:where(.swal2-container) div:where(.swal2-popup) {
  color: white;
}

.swal2-html-container a {
  color: #e6c3a1;
}
.swal2-html-container strong {
  display: inline-block;
  margin: 0 0.25em;
  padding: 0.1em 0.35em;
  color: #616b89;
  background-color: white;
  border-radius: 5px;
}

.swal2-popup {
  max-width: 300px;
  width: 100%;
  -webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.5) inset;
          box-shadow: 0 0 2px rgba(255, 255, 255, 0.5) inset;
  background-color: #53326e !important;
  border-radius: 2em;
}
.swal2-popup .swal2-styled {
  padding: 0.2em 0.5em 0.25em 0.5em;
  color: #53326e;
  font-size: 1.5em;
  font-weight: bold;
  background-color: #ffcc40;
  border-radius: 25px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
}

.gift-name {
  padding-top: 0.25em;
  border-top: 1px dashed #7e4fa4;
}

.swal2-popup .swal2-styled:focus,
.swal2-close:focus {
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

div:where(.swal2-container) img:where(.swal2-image) {
  margin: 2em auto 0;
}

div:where(.swal2-container) div:where(.swal2-actions) {
  margin: initial;
}

.records {
  margin: 0 auto;
  padding: 1em;
  max-width: calc(177px + 2em);
}
.records img {
  width: 100%;
}

.record-container {
  width: 100%;
}

ul.records-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
ul.records-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
  padding: 0.5em 0;
  border-top: 1px solid white;
}
ul.records-list li div:nth-child(2) {
  max-width: auto;
  width: 100%;
}

.record-icon {
  text-align: center;
}
.record-icon img {
  max-width: 100%;
}

.record-title {
  margin: 0;
  padding: 0;
}

.record-time {
  padding-left: 1.4em;
  color: #616b89;
}

.record-amount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0.25em 0.5em;
  width: 4em;
  color: #7e4fa4;
  font-weight: bold;
  background-color: white;
  border-radius: 5px;
}

.page-zone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 2em 1em;
}

ul.page-no {
  margin: 0;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.5em;
}
ul.page-no li a {
  display: block;
  padding: 0.25em 0.5em;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.25em;
  background-color: white;
  border-radius: 5px;
}
ul.page-no li a.active {
  color: white;
  background-color: #53326e;
}

.page-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.25em;
  padding: 1em 0;
}
.page-btn a {
  text-decoration: none;
  font-weight: bold;
}

.prev,
.next {
  padding: 0.3em 0.65em 0.375em 0.65em;
  color: white;
  font-size: 1.25em;
  background-color: #53326e;
  border-radius: 50px;
  -webkit-transition: background-color 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}
.prev:hover,
.next:hover {
  background-color: black;
}

.copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
  padding: 1em;
  color: #525357;
  background-color: white;
}
.copyright .copyright-text {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
.copyright .logo-2 {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
}
.copyright .logo-3 {
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
}
.copyright figure img {
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  -webkit-transition: -webkit-filter 0.3s ease-in-out;
  transition: -webkit-filter 0.3s ease-in-out;
  transition: filter 0.3s ease-in-out;
  transition: filter 0.3s ease-in-out, -webkit-filter 0.3s ease-in-out;
}
.copyright figure img:hover {
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
}

.fixed-links {
  position: fixed;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

ul.fixed-list {
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
}
ul.fixed-list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1.25em 0;
  height: 40px;
  color: #ffcc40;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: center;
}

#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background-color: white;
  position: fixed;
  z-index: 1031;
  top: 0%;
  left: 0;
  width: 100%;
  height: 5px;
}

#nprogress .peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  opacity: 1;
  -webkit-transform: rotate(3deg) translate(0, -4px);
  transform: rotate(3deg) translate(0, -4px);
}

#nprogress .spinner {
  display: block;
  position: fixed;
  z-index: 1031;
  top: 15px;
  right: 15px;
}

#nprogress .spinner-icon {
  width: 18px;
  height: 18px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 2px solid transparent;
  border-top-color: #ff4063;
  border-left-color: #ff4063;
  border-radius: 50%;
  -webkit-animation: nprogress-spinner 400ms linear infinite;
  animation: nprogress-spinner 400ms linear infinite;
}

.nprogress-custom-parent {
  overflow: hidden;
  position: relative;
}

.nprogress-custom-parent #nprogress .bar,
.nprogress-custom-parent #nprogress .spinner {
  position: absolute;
}

@-webkit-keyframes nprogress-spinner {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes nprogress-spinner {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
/* 針對 JS 動態產生的 i 標籤定義樣式 */
i {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

i::before {
  content: attr(data-shape); /* 可以放文字或 emoji */
  position: absolute;
  color: #ffd33c; /* 如果 data-shape 是文字，則可以定義顏色，如果是 emoji 則否 */
  /*   mix-blend-mode: multiply; */
  -webkit-animation: moveShape 1s linear forwards;
          animation: moveShape 1s linear forwards;
}

@-webkit-keyframes moveShape {
  0% {
    -webkit-transform: translate(0) rotate(0deg);
            transform: translate(0) rotate(0deg);
    opacity: 0;
  }
  20%, 80% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(300px) rotate(360deg);
            transform: translate(300px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes moveShape {
  0% {
    -webkit-transform: translate(0) rotate(0deg);
            transform: translate(0) rotate(0deg);
    opacity: 0;
  }
  20%, 80% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(300px) rotate(360deg);
            transform: translate(300px) rotate(360deg);
    opacity: 0;
  }
}
/* 針對 JS 動態產生的 i 標籤定義樣式 */
i {
  position: absolute;
  pointer-events: none;
}

i::before {
  content: attr(data-shape);
  position: absolute;
  color: #ffd33c;
  -webkit-animation: moveShape 1s linear forwards;
          animation: moveShape 1s linear forwards;
}

@keyframes moveShape {
  0% {
    -webkit-transform: translate(0) rotate(0deg);
            transform: translate(0) rotate(0deg);
    opacity: 0;
  }
  20%, 80% {
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(var(--moveX, 100px), var(--moveY, -100px)) rotate(360deg);
            transform: translate(var(--moveX, 100px), var(--moveY, -100px)) rotate(360deg);
    opacity: 0;
  }
}
@media only screen and (min-width: 0px) {
  .root {
    background-size: 300%;
  }
  .logo-group {
    padding: 2em 4em 0 4em;
  }
  .atm-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1em;
  }
  .atm-lottery {
    font-size: 1.75em;
  }
  dl.rewards-note {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .rewards {
    padding: 1em 0;
  }
  .rewards li {
    width: 150px;
    height: 164px;
    -webkit-animation: none !important;
            animation: none !important;
    -webkit-transform: none !important;
            transform: none !important;
  }
  .rewards li .reward-box {
    -webkit-animation: none !important;
            animation: none !important;
    -webkit-transform: none !important;
            transform: none !important;
  }
  .amount {
    bottom: 0.25em;
  }
  .record-container {
    padding: 0;
  }
  .record-title {
    font-size: 105%;
  }
  .record-amount {
    font-size: 1em;
  }
  .record-icon {
    width: 70px;
  }
  .logo-1 {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .copyright figure {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
  .copyright-text {
    text-align: center;
    width: 100%;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .copyright-text span {
    display: block;
  }
  .logo-1 {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    height: 20px;
  }
  .fixed-links {
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: #2c2c2e;
  }
  ul.fixed-list {
    padding: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 2em;
  }
  ul.fixed-list li:nth-child(1) {
    border-bottom: unset;
  }
  ul.fixed-list li:nth-child(1) a {
    background-image: unset;
  }
  ul.fixed-list li:nth-child(2) a {
    background-image: unset;
  }
  ul.fixed-list li a {
    width: unset;
  }
  ul.fixed-list li a span {
    display: inline;
  }
}
@media only screen and (min-width: 500px) {
  .copyright figure {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  .copyright-text span {
    display: unset;
  }
  .fixed-links {
    bottom: 1em;
    right: 1em;
    width: 220px;
    height: 284px;
    background-image: url(../images/fixed-right.png);
    background-color: unset;
  }
  ul.fixed-list {
    padding: 140px 0 0 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: unset;
  }
  ul.fixed-list li:nth-child(1) {
    border-bottom: 8px solid #efc59a;
  }
  ul.fixed-list li:nth-child(1) a {
    background-image: url(../images/fixed-text-1.png);
  }
  ul.fixed-list li:nth-child(2) a {
    background-image: url(../images/fixed-text-2.png);
  }
  ul.fixed-list li a {
    width: 170px;
  }
  ul.fixed-list li a span {
    display: none;
  }
}
@media only screen and (min-width: 700px) {
  .root {
    background-size: cover;
  }
  .atm-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: initial;
  }
  .atm-lottery {
    font-size: 2.25em;
  }
  dl.rewards-note {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .record-container {
    padding: 0 2em;
  }
  .record-title {
    font-size: 132%;
  }
  .record-amount {
    font-size: 1.25em;
  }
  .record-icon {
    width: 90px;
  }
}
@media only screen and (min-width: 780px) {
  .rewards {
    padding: 2em 0;
  }
  .rewards li {
    width: 192px;
    height: 210px;
  }
  .rewards li:nth-child(1) {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
    -webkit-animation: m1 6s infinite;
            animation: m1 6s infinite;
  }
  .rewards li:nth-child(2) {
    -webkit-transform: translateY(40);
            transform: translateY(40);
    -webkit-animation: m2 4s infinite;
            animation: m2 4s infinite;
  }
  .rewards li:nth-child(3) {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
    -webkit-animation: m3 5s infinite;
            animation: m3 5s infinite;
  }
  .rewards li:nth-child(4) {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation: m4 3s infinite;
            animation: m4 3s infinite;
  }
  .amount {
    bottom: 1em;
  }
}
@media only screen and (min-width: 800px) {
  .copyright-text {
    text-align: unset;
    width: unset;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .logo-1 {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}
@media only screen and (min-width: 1300px) {
  .rocketgames-logo {
    position: absolute;
    top: 2em;
    left: calc(50% - 40em);
  }
  .mo-logo {
    position: absolute;
    top: 2em;
    left: calc(50% + 30em);
  }
  .logo-group {
    padding: 0 4em 0 4em;
  }
}