body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: '微軟正黑體', 'Trebuchet MS', 'Lucida Sans Unicode';
}

body {
    position: relative;
    background: url(../../images/molly/2025-moon/bg.jpg)top center no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
}

.clear {
    clear: both;
    display: block;
}

.topTitle {
    margin: 3rem 0 1.5rem 0;
}

.topTitle p {
    font-family: monospace;
    font-weight: bold;
    text-align: center;
    font-size: 1.25rem;
    color: #2878b4;
    margin: 0 0 .25rem 0;
    padding: 0;
}

.topTitle .logo {
    display: block;
    width: 120px;
    margin: 0 auto .5rem auto;
}

.topTitle img.tit01,
.topTitle img.tit02 {
    display: block;
    margin: 0 auto;
    width: 320px;
    max-width: 100%;
}

img.tit01 {
    -webkit-animation: brightness 2s -0.14s infinite;
    animation: brightness 2s -0.14s infinite;
}

img.tit02 {
    -webkit-animation: brightness 2.5s -0.18s infinite;
    animation: brightness 2.5s -0.18s infinite;
}

.items {
    position: absolute;
    top: 10rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 600px;
    margin: 0 auto;
    z-index: 9;
    pointer-events: none;
}

.items img.img_rbL {
    position: relative;
    top: 13rem;
    left: -8%;
}

.items img.img_rbR {
    position: relative;
    right: 1%;
    top: 10rem;
}

.items .img_chip {
    position: relative;
    left: 11%;
    top: 8rem;
    -webkit-animation: UpDown 3.5s infinite;
    animation: UpDown 3.5s infinite;
    z-index: 99999;
}

@-webkit-keyframes UpDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px)
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes UpDown {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
    50% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px)
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes brightness {
    0% {
        filter: brightness(100%);
    }
    70% {
        filter: brightness(100%);
    }
    73% {
        filter: brightness(250%);
    }
    76% {
        filter: brightness(100%);
    }
    100% {
        filter: brightness(100%);
    }
}

.slotWrap {
    position: absolute;
    left: 50%;
    top: 16rem;
    width: 508px;
    transform: translateX(-50%);
    margin: 0 auto 1rem auto;
    border-radius: 10px;
    border: 15px solid #ffae41;
    padding: 5px 2px 0 2px;
    box-shadow: 2px 2px 0 4px #ed6e29;
}

.slotWrap div {
    width: calc(100% / 5 - 4px);
    height: 104px;
    margin: 0 2px 4px;
    font-size: 38px;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #d37e5c;
    background: url(../../images/molly/2025-moon/slot_frame.png) top center no-repeat;
    background-size: cover;
    background-color: #f9e2a5;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #e59145 0 -8px 0 inset;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    float: left;
    text-align: center;
    border-radius: 8px;
}

.slotWrap div:nth-of-type(odd) {
    background-color: #f3e9ce;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #dbbfae 0 -8px 0 inset;
}

.slotWrap div span {
    display: block;
    font-size: 16px;
    margin: 1px auto;
}

.slotWrap div:not(.no15) img {
    width: 65px;
}

.slotWrap .active {
    background-color: rgb(255, 199, 221) !important;
    box-shadow: #ff5a99 0 0 15px, #ff5a99 0 7px 13px -3px, #ff5a99 0 -8px 0 inset !important;
    position: relative;
}

.slotWrap .no15 {
    position: relative;
    flex-direction: column;
    text-align: center;
    background: transparent;
    background-color: transparent !important;
    box-shadow: none !important;
    width: calc(100% / 1.69);
    box-shadow: none;
}

.divtext {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: table;
    width: 180px;
    font-size: 1rem;
    margin: 0 auto;
    padding: .45rem 1.25rem .6rem 1.25rem;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #f3e9ce;
    box-shadow: 0px 2px 4px #00000047;
}

.divtext span {
    display: inline-block !important;
    margin: 0 5px 0 3px !important;
    color: #d94444;
    font-size: 1.5rem !important;
    font-style: italic !important;
}

.slotWrap .no15 img {
    max-width: 120px;
}

.slotWrap .no15.msg span {
    display: block;
}

aside {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translate(0%, -50%);
}

aside a {
    display: block;
    background-image: linear-gradient(to bottom right, #3bbab1, #2878b4, #3bbab1);
    border-radius: 8px 0 0 8px;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
    line-height: 1.75rem;
    margin: 1rem 0;
    padding: .75rem;
    width: 2rem;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-decoration: none;
}

aside a:hover {
    box-shadow: none;
}

.button-slot {
    position: absolute;
    top: 0;
    display: block;
    background: linear-gradient(140deg, #e9f3f8, #c9dbe4);
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #b0bfc7 0 -8px 0 inset;
    border: 0;
    border-radius: 12px;
    color: #666666;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    outline: 0;
    margin: 1.25rem auto;
    min-width: 60%;
    padding: .85rem 0 1.5rem 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: .2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-slot.disabled {
    color: #ebebeb;
    padding: .85rem .85rem 1rem .85rem;
    background: linear-gradient(140deg, #6e6e6e, #9b9b9b);
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px;
}

.button-slot.none {
    color: #ebebeb;
    background: linear-gradient(140deg, #6e6e6e, #9b9b9b);
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px;
}

.button-slot.none span.nonetxt {
    display: block;
}

.button-slot.none span.nonetxthover {
    display: none;
}

.button-slot span.qualifications {
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px;
    background: linear-gradient(140deg, #3bbab1, #2878b4);
    transform: translateY(0);
}

.button-slot.none:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px;
    background: linear-gradient(140deg, #3bbab1, #2878b4);
    transform: translateY(0);
}

.button-slot.none:hover span.nonetxt {
    display: none;
}

.button-slot.none:hover span.nonetxthover {
    display: block;
}

.button-slot:before {
    background-color: initial;
    background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
    border-radius: 12px 12px 50px 50px;
    content: "";
    height: 50%;
    left: 2%;
    opacity: .5;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 96%;
}

.button-slot:focus {
    box-shadow: #1f5d8d 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #1f5d8d 0 -3px 0 inset;
}

.button-slot:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #1f5d8d 0 -8px 0 inset;
    transform: translateY(-2px);
}

.button-slot:active {
    box-shadow: #1f5d8d 0 3px 7px inset;
    transform: translateY(2px);
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 100%;
    background: #ffffff;
    box-shadow: 0 2px 5px 1px #f89191;
    position: absolute;
    animation: 1.5s infinite;
}

.light:nth-child(even) {
    animation-name: lightEven;
}

@-webkit-keyframes lightEven {
    0% {
        box-shadow: 0 2px 5px 1px #f89191;
    }
    50% {
        box-shadow: 0 2px 5px 5px #ffa60b;
    }
    100% {
        box-shadow: 0 2px 5px 1px #f89191;
    }
}

.light:nth-child(odd) {
    animation-name: lightOdd;
}

@-webkit-keyframes lightOdd {
    0% {
        box-shadow: 0 2px 5px 1px #ffa60b;
    }
    50% {
        box-shadow: 0 2px 5px 3px #f89191;
    }
    100% {
        box-shadow: 0 2px 5px 1px #ffa60b;
    }
}

.light1 {
    top: -3.5%;
    left: -3%;
}

.light2 {
    top: -4%;
    left: 18%;
}

.light3 {
    top: -4%;
    left: 39%;
}

.light4 {
    top: -4%;
    left: 60%;
}

.light5 {
    top: -4%;
    left: 82%;
}

.light6 {
    top: -3.5%;
    left: 100%;
}

.light7 {
    top: 16%;
    left: 100.5%;
}

.light8 {
    top: 38%;
    left: 100.5%;
}

.light9 {
    top: 58%;
    left: 100.5%;
}

.light10 {
    top: 80%;
    left: 100.5%;
}

.light11 {
    top: 100%;
    left: 100.5%;
}

.light12 {
    top: 100%;
    left: 100%;
}

.light13 {
    top: 100%;
    left: 80%;
}

.light14 {
    top: 100%;
    left: 58%;
}

.light15 {
    top: 100%;
    left: 38%;
}

.light16 {
    top: 100%;
    left: 18%;
}

.light17 {
    top: 100%;
    right: 100%;
}

.light18 {
    top: 80%;
    right: 100.5%;
}

.light19 {
    top: 58%;
    right: 100.5%;
}

.light20 {
    top: 38%;
    right: 100.5%;
}

.light21 {
    top: 16%;
    right: 100.5%;
}


/* 彈窗 */

.popup-wrap {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    content: "";
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
}

.popup-box {
    width: 50%;
    padding: 50px 75px 200px;
    transform: translate(-50%, -50%) scale(1);
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px #0000009e;
}

.popup-box-l {
    width: 70% !important;
    padding: 30px 75px 120px;
}

.popup-box h2 {
    font-size: 3.65rem;
    font-weight: bold;
    font-style: italic;
    font-family: 'Bahnschrift';
    margin: 0;
    padding: 0;
    background: linear-gradient(140deg, #ffc61d, #ffa805);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-box h3 {
    font-size: 1.75rem;
    letter-spacing: 4px;
    background: linear-gradient(140deg, #ffc61d, #ffa805);
    color: #fff;
    margin-left: -95px;
    margin-right: -95px;
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}

.popup-box h3:before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0px 20px 20px;
    border-color: transparent transparent #ff8205 transparent;
}

.popup-box h3:after {
    content: "";
    position: absolute;
    top: -20px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 0px 20px;
    border-color: transparent transparent transparent #ff7105;
}

.popup-box .text {
    display: table;
    font-size: 1.5rem;
    margin: 1rem auto;
    color: #555;
    text-align: left;
}

.popup-box .text ul li {
    margin-bottom: .75rem;
    line-height: 1.5;
}

.popup-box p {
    color: #555;
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0 0 .25rem 0;
}

.close-btn {
    display: inline-block;
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    border-radius: 0 0 15px 15px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(320deg, #ffc61d, #ffa805);
    line-height: 80px;
    font-size: 1.65rem;
    transition: 0.3s;
}

.close-btn:hover {
    background: #ffc61dd3;
    color: #fff;
}

.transform-in,
.transform-out {
    display: block;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

.transform-in {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

.transform-out {
    -webkit-transform: translate(-50%, -50%) scale(0.75);
    transform: translate(-50%, -50%) scale(0.75);
}

.tableBox {
    margin-top: 3rem;
    max-height: 90vh;
    overflow-y: auto;
}

.tableBox table {
    position: relative;
    width: 80%;
    margin: 1rem auto 5rem auto;
    border-collapse: collapse;
    font-size: 1.45rem;
    z-index: 99;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 0 25px 0px rgba(0, 0, 0, .1);
}

.tableBox table th {
    color: #fff;
    padding: 1rem .5rem;
    border: none;
    background: #ffa805;
}

.tableBox table th:nth-child(1) {
    border-radius: 15px 0 0 0;
}

.tableBox table th:nth-last-child(1) {
    border-radius: 0 15px 0 0;
}

.tableBox table td {
    color: #333;
    padding: .5rem .35rem;
    border: 1px solid #d3d3d3;
    background: #ffffff2c;
}

.tableBox table tr:nth-last-of-type(odd) td {
    background: #ffffff65;
}

.tableBox table tr.userGot td {
    color: #ffa805;
    border: 1px solid #d3d3d3;
    background: #ffa80565;
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
}

.datePick {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 75%;
    margin: 1rem auto;
    z-index: 99;
}

.datePick a {
    display: block;
    font-size: 1.25rem;
    padding: 1rem;
    margin: .25rem;
    color: #555;
    background: #93939365;
    border-radius: 4px;
    text-decoration: none;
    transition: .25s;
}

.datePick a.active {
    color: #eee;
    background: #ff9b05;
}

.datePick a:hover {
    color: #fff;
    background: #ffa805;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .topTitle {
        margin: 5rem 0 1.5rem 0;
    }
    .topTitle img.tit01,
    .topTitle img.tit02 {
        width: 400px;
        max-width: 100%;
    }
    .popup-box {
        width: 100%;
        background-size: cover
    }
    .popup-box-l {
        width: 100% !important;
    }
    .popup-box h3 {
        font-size: 1.65rem;
    }
    .tableBox table {
        width: 100%;
    }
    aside {
        top: 45%;
        z-index: 999;
    }
    .slotWrap {
        top: 20rem;
    }
    .items {
        top: 20rem;
        width: 700px;
        height: 600px;
        z-index: 9;
    }
    .items img.img_rbL {
        top: 18rem;
        left: -31%;
        width: 23rem;
    }
    .items img.img_rbR {
        right: -38%;
        top: -12rem;
        width: 32rem;
    }
    .items .img_chip {
        left: -4%;
        top: -12rem;
    }
}

@media (max-width: 580px) {
    body {
        background: url(../../images/molly/2025-moon/bg_m.jpg) #f2f4f4 top center no-repeat;
        background-size: cover;
        align-items: baseline;
        padding: 2rem 0 0 0;
        overflow-x: hidden;
    }
    .topTitle {
        margin: 0 0 1.5rem 0;
    }
    .topTitle .logo {
        width: 100px;
    }
    .topTitle img.tit01,
    .topTitle img.tit02 {
        width: 300px;
        max-width: 100%;
    }
    .topTitle p {
        font-size: 1.05rem;
        margin: 0 0 .2rem 0;
    }
    .slotWrap {
        position: relative;
        left: inherit;
        top: inherit;
        width: 80%;
        transform: inherit;
        margin: 0 auto 1rem auto;
    }
    .slotWrap div {
        width: calc(100% / 5.15 - 3px);
        height: 80px;
    }
    .slotWrap div:not(.no15) img {
        width: 38px;
    }
    .slotWrap .no15 img {
        width: 80px;
    }
    .slotWrap .no15 .divtext {
        font-size: 15px;
        line-height: 1;
    }

    .divtext {
        width: 130px;
        margin: 1rem auto;
        padding: .35rem 1rem .6rem 1rem;
        text-align: center;
        font-weight: normal;
    }
    aside {
        top: inherit;
        right: inherit;
        bottom: 0;
        left: 0;
        width: 100%;
        background-image: linear-gradient(to bottom right, #f1620f, #eb9237, #ff4e19);
        transform: translate(0%, 0%);
    }
    aside a {
        display: inline-block;
        width: calc(100% / 4.8) !important;
        background-image: none;
        border-radius: 0;
        font-size: 1rem;
        padding: 1rem 1.5rem;
        margin: 0;
        padding: .75rem .25rem;
        width: auto;
        border-right: 1px solid #0000002b;
    }
    aside a:nth-last-child(1) {
        border-right: none;
    }
    .datePick {
        width: 100%;
        margin: .5rem auto 2rem auto;
        justify-content: flex-start;
    }
    .datePick a {
        width: 14%;
        font-size: 1rem;
        padding: .5rem;
        margin: .15rem;
    }
    .tableBox {
        margin-top: .5rem;
        max-height: 540px;
    }
    .tableBox table tr.userGot td {
        font-size: 1.16rem;
    }
    .tableBox table th:nth-child(1) {
        border-radius: 8px 0 0 0;
    }
    .tableBox table th:nth-last-child(1) {
        border-radius: 0 8px 0 0;
    }
    .tableBox table {
        width: 100%;
        font-size: 1rem;
        margin: 0rem auto 2rem auto;
    }
    .tableBox table th,
    .tableBox table td {
        padding: .5rem .75rem;
    }
    .popup-wrap {
        overflow-y: auto;
    }
    .close-btn {
        line-height: 60px;
        font-size: 1.15rem;
    }
    .transform-out {
        transform: translate(-50%, -50%) scale(0.75);
    }
    .popup-box {
        padding: 30px 35px 100px;
    }
    .popup-box h2 {
        font-size: 2.75rem;
    }
    .popup-box h3 {
        font-size: 1.35rem;
        margin-left: -55px;
        margin-right: -55px;
    }
    .popup-box p,
    .popup-box .text {
        font-size: 1.16rem;
    }
    .items {
        top: 0;
        width: 100%;
        height: 400px;
        pointer-events: none;
    }
    .items img.img_rbL {
        top: 36rem;
        position: absolute;
        left: 1%;
        width: 12rem;
    }
    .items img.img_rbR {
        right: -9%;
        top: 36rem;
        width: 22rem;
    }
    .items .img_chip {
        left: 40%;
        top: 37rem;
        width: 3rem;
    }
    .divtext span {
        font-size: 1.35rem !important;
    }
}

@media (max-width: 420px) {
    .slotWrap {
        width: 80%;
    }
    .slotWrap div {
        width: calc(100% / 5 - 5px);
        height: 70px;
    }
    .slotWrap div:not(.no15) img {
        width: 38px;
    }
    .slotWrap .no15 img {
        width: 90px;
    }
    .items img.img_rbL {
        top: 33rem;
        left: 2%;
        width: 12rem;
    }
    .items img.img_rbR {
        right: -9%;
        top: 30rem;
        width: 22rem;
    }
    .items .img_chip {
        left: 40%;
        top: 35rem;
        width: 3rem;
    }
}

#verify {
    color: #444;
    position: absolute;
    left: 10px;
    top: 10px;
}