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/bg.jpg?1)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%;
}

.slotWrap {
    width: 508px;
    margin: 0 auto 1rem auto;
    border-radius: 10px;
    border: 15px solid #ffe8e8;
    padding: 5px 2px 0 2px;
    box-shadow: 2px 2px 0 4px #e3739b;
    position: relative;
}

.slotWrap div {
    width: calc(100% / 5 - 4px);
    height: 104px;
    margin: 0 2px 4px;
    font-size: 38px;
    display: flex;
    font-family: monospace;
    font-weight: bold;
    color: #cd7d7d;
    background: url(../images/molly/slot_frame.png) top center no-repeat;
    background-size: cover;
    background-color: #ffd2e2;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #eb8cae 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: #ffede5;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #e7c3a7 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(251, 255, 199) !important;
    box-shadow: #ffd980 0 0 15px, #ffd22e 0 7px 13px -3px, #ff982d 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 {
    display: table;
    font-size: 1rem;
    margin: .5rem auto 2rem auto;
    padding: .45rem 1.25rem .6rem 1.25rem;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    background-image: linear-gradient(320deg, #bda68c, #e8cdb1);
}

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

.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, #b19a81, #e8cdb1);
    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: -4rem;
    display: block;
    background: linear-gradient(140deg, #ffd2e2, #eb8cae);
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #e3749c 0 -8px 0 inset;
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    outline: 0;
    margin: 1.25rem auto;
    width: 60%;
    padding: .85rem 0 1.5rem 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    transition: .2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-slot.disabled {
    color: #ebebeb;
    padding: .85rem 0 1rem 0;
    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, #ffd2e2, #eb8cae);
    transform: translateY(0);
}

.button-slot.none:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px;
    background: linear-gradient(140deg, #ffd2e2, #eb8cae);
    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: #e3749c 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, #e3749c 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, #e3749c 0 -8px 0 inset;
    transform: translateY(-2px);
}

.button-slot:active {
    padding: .85rem 0 1rem 0;
    background: linear-gradient(140deg, #f7abc6, #eb8cae);
    box-shadow: #cc5c85 0 3px 7px inset;
    transform: translateY(2px);
}

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

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

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

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

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

.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);
}

.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: monospace;
    margin: 0;
    padding: 0;
    background: linear-gradient(140deg, #ffd2e2, #eb8cae);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-box h3 {
    font-size: 1.75rem;
    letter-spacing: 4px;
    background: linear-gradient(140deg, #ffd2e2, #eb8cae);
    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 #f69fbd 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 #e3729a;
}

.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, #bda68c, #e8cdb1);
    line-height: 80px;
    font-size: 1.65rem;
    transition: 0.3s;
}

.close-btn:hover {
    background: #bba286;
    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: #e3729a;
}

.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: #666;
    border: 1px solid #e3729a;
    background: #e3729a65;
    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: #e3729a65;
    border-radius: 4px;
    text-decoration: none;
    transition: .25s;
}

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

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

@media (max-width: 1024px) {
    .topTitle {
        margin: 4rem 0 1.5rem 0;
    }
    .topTitle img.tit01,
    .topTitle img.tit02 {
        width: 380px;
        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%
    }
}

@media (max-width: 580px) {
    body {
        align-items: center;
    }
    .topTitle {
        margin: 0 0 1.5rem 0;
    }
    .topTitle .logo {
        width: 100px;
    }
    .topTitle img.tit01,
    .topTitle img.tit02 {
        width: 260px;
        max-width: 100%;
    }
    .topTitle p {
        font-size: 1.05rem;
        margin: 0 0 .15rem 0;
    }
    .slotWrap {
        width: 80%;
    }
    .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 {
        margin: 1rem auto 3rem 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(0deg, #b19a81, #e8cdb1);
        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;
    }
}

@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;
    }
}

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