.slotPlugin, .historicalRecord, .mode {
    position: absolute;
    display: none;
    right: 0;
    top: 0;
    height: 100%;
}

.slotPlugin header, .historicalRecord header, .mode header {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slotPlugin .container, .historicalRecord .container, .mode .container {
    position: relative;
    height: 100%;
    border-radius: 10px;
    max-height: 930px;
    padding: 0 20px;
    right: 0;
    top: 0;
    background-image: linear-gradient(to top, rgba(9, 6, 5, 0.9), rgba(0, 0, 0, 0.89) 66%, rgba(20, 13, 8, 0.86) 91%, rgba(57, 43, 16, 0.85));
    border-radius: 10px;
    border: solid 2px #dbd3ca;
}

.slotPlugin button, .historicalRecord button, .mode button {
    border-radius: 10%;
    margin-left: 1rem;
    outline: none;
}

.slotPlugin button:first-child {
    margin-left: 0;
}

.historicalRecord h2, .mode h2 {
    text-align: center;
    color: #ffc000;
    margin-top: 0;
    font-weight: 400;
}

.slotPlugin .container, .mode .container {
    overflow: auto;
}

/* 老虎機外掛主頁 */
.slotPlugin {
    width: 500px;
    z-index: 1;
}

.slotPlugin .container {
    color: #cfc6ad;
    font-family: PMingLiU;
    font-size: 20px;
}

.slotPlugin .content {
    display: block;
    width: 100%;
    height: 100%;
}

.slotPlugin .items > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    margin-top: 10px;
    padding: 0 10px;
    min-width: 220px;
    border-radius: 5px;
    border: solid 1px #2a2a29;
    background-color: #191924;
}

.slotPlugin header button {
    width: 83px;
    height: 42px;
    color: #FFF;
    font-family: PMingLiU;
    font-size: 14px;
    border-radius: 5px;
    border: solid 1px #dbd3ca;
    background-image: linear-gradient(to top, rgba(48, 24, 4, 0.8) 43%, rgba(115, 86, 74, 0.8)), linear-gradient(to bottom, #150f0a, #060000);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.5) inset;
    /* background-image: linear-gradient(to top, rgba(28, 12, 0, 0.8) 43%, rgba(249, 221, 209, 0.8)), linear-gradient(to bottom, #d07624, #d07624); */
}

.closePageBtn span {
    -webkit-filter: drop-shadow(1px 1px 2.5px rgba(255, 153, 18, 9));
    filter: drop-shadow(1px 1px 2.5px rgba(255, 153, 18, 9));
}

.slotPlugin header button:hover {
    background-image: linear-gradient(to top, rgba(74, 39, 14, 0.8) 43%, rgba(153, 127, 117, 0.8)), linear-gradient(to bottom, #c88544, #513317);
    /* background-image: linear-gradient(to top, rgba(89, 50, 5, 0.86) 43%, rgba(255, 241, 204, 0.95)), linear-gradient(to bottom, #d07624, #d07624); */
}

.slotPlugin header button[disabled] {
    opacity: 0.3;
}

.slotPlugin input {
    width: 5rem;
    height: 1rem;
}

.slotPlugin .items {
    font-size: 15px;
}

.slotPlugin .items .resultList {
    display: block;
    height: 200px;
    text-align: left;
    padding-top: 10px;
    margin-top: 12px;
}

.slotPlugin .items .resultList > div{
    overflow: auto;
    height: 165px;
    max-height: 165px;
    margin: 0.5rem 0 0 1rem;
}

.slotPlugin .items .resultList p {
    margin: 0;
    font-size: 14px;
}

.slotPlugin .prompt {
    font-size: 10px;
    color: #8f8c8c;
    margin-left: 0.5rem;
}

.slotPlugin .items >.userSetMode {
    display: none;
    height: 160px;
    margin-top: -10px;
    padding-left: 20px;
    font-size: 15px;
}

.slotPlugin select {
    color: #000;
    border: 1px #FFFF solid;
}

.slotPlugin .userSetMode .userSetModeItem {
    height: 2rem;
    display: flex;
    align-items: center;
}

.slotPlugin .userSetMode .userSetModeItem > div {
    display: contents;
}

.slotPlugin .userSetMode .userSetModeItem input {
    width: 3rem;
    margin: 0 5px;
}

.slotPlugin .scale {
    width: 100%;
    height: 35px;
    padding-top: 3px;
    margin-bottom: 10px;
    font-size: 26px;
}

.slotPlugin .scale div {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    margin-top: 5px;
    border-radius: 50%;
    font-size: 20px;
    float: right;
    background-color: #46423a;
}

.slotPlugin .scale span {
    -webkit-filter: drop-shadow(1px 1px 2.5px rgba(255, 153, 18, 9));
    filter: drop-shadow(1px 1px 2.5px rgba(255, 153, 18, 9));
    font-size: 26px;
}

.slotPlugin .scale div:hover {
    background: #7b7b79c2;
    color: #ece9e9;
}

/* footer */
.slotPlugin footer {
    bottom: 0;
    width: 100%;
    height: 45px;
    margin-top: 5px;
}

.slotPlugin footer > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slotPlugin footer button {
    width: 60px;
    height: 35px;
    font-size: 14px;
    color: hsl(0, 0%, 100%);
    border: 1px #c8c5c5 solid;
    margin-bottom: 5px;
}

.slotPlugin footer .startBtn {
    width: 143px;
    height: 50px;
    font-size: 19px;
    color: #000;
    border-radius: 36px;
    border: solid 2px #c6c2bd;
    background-image: linear-gradient(to top, #938e8e 4%, #b09890 22%, #ffffff 54%, #ffffff 88%);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.5) inset;
}

.slotPlugin footer .startBtn:hover {
    background-image: linear-gradient(to top, #e9e9e9 4%, #e6d2c3 22%, #cdc8c3 44%, #e5e3e2 64%, #ffffff 89%);
}

.slotPlugin footer .closeBtn {
    width: 143px;
    height: 50px;
    font-size: 19px;
    color: #FFF;
    border-radius: 36px;
    border: solid 2px #807e7e;
    background-image: linear-gradient(to top, #655953 4%, #443b38 22%, #454444 54%, #6e6e6e 88%);
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.5) inset;
}

.slotPlugin footer .closeBtn:hover {
    background-image: linear-gradient(to top, #756860 4%, #5c5150 22%, #5a5959 54%, #939393 88%);
}

/* 歷史紀錄頁面 */
.historicalRecord {
    width: 680px;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.historicalRecord .content {
    width: 100%;
    color: #4c4343;
}

.historicalRecord .contentTable {
    width: 100%;
    height: 800px;
    overflow: auto;
    margin-top: 35px;
}

.historicalRecord .prompt {
    margin-top: 2rem;
}

.historicalRecord table {
    display: inline-table;
    border-spacing: 0;
    margin: 0 5%;
    font-size: 15px;
    font-family: PMingLiU;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: -0.3px;
}

.historicalRecord .container, .mode .container {
    background-image: linear-gradient(to top, rgb(9, 6, 5), rgb(0, 0, 0) 66%, rgb(17, 10, 5) 91%, rgba(38, 28, 7, 0.85));
}

.historicalRecord table thead tr {
    background-color: #202131;
    color: #dfcc91;
}

.historicalRecord table tbody {
    font-size: 14px;
}

.historicalRecord table tbody tr:nth-child(2n+1) {
    background: #ececec;
}

.historicalRecord table tbody tr:nth-child(2n+2) {
    background: #fff;
}

.historicalRecord td, .historicalRecord th {
    border: 1px solid #070707;
    padding: 5px 6px;
}

/* 打法頁面 */
.mode {
    width: 500px;
    z-index: 2;
}

.mode .container {
    color: #4c4343;
}

.mode .content {
    text-align: justify;
}

.mode .content > div {
    margin: 35px 0 3rem 0;
}

.mode h4 {
    padding: 0;
    margin: 0;
    color: #dfcc91;
}

.mode p {
    margin: 0;
    font-size: 14px;
    color: #FFF;
}

.mode .items {
    display: flex;
    align-items: center;
    border-radius: 5px;
    background-color: #17171d;
    height: 30px;
    margin-bottom: 10px;
}

.mode .items img {
    width: 35px;
    height: 35px;
}

.closePageBtn {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    color: #FFF;
    border: none;
    background-color: #46423a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.closePageBtn span {
    font-size: 24px;
    margin-top: -5px;
}

.closePageBtn:hover {
    background: #848383;
}

.slotPlugin footer .closeBtn[disabled], .slotPlugin footer .startBtn[disabled] {
    opacity: 0.3;
}

/* 橫向裝置 */
.slotPlugin.mobile {
    width: 90%;
}

.slotPlugin.mobile .items > div {
    max-width: 290px;
}

.slotPlugin.mobile .content {
    display: flex;
    justify-items: center;
}

.slotPlugin.mobile .items {
    padding-left: 10px;
    font-size: 14px;
}

.slotPlugin.mobile .items:first-child {
    padding-left: 0;
}

.slotPlugin.mobile .items .resultList p {
    font-size: 13px;
    word-break: break-all
}

.slotPlugin.mobile .items .resultList > div {
    margin: 0.5rem 0 0 0.5rem;
}

.slotPlugin.mobile .items >.userSetMode {
    padding-left: 10px;
    font-size: 12px;
}

.slotPlugin.mobile, .historicalRecord.mobile, .mode.mobile {
    position: fixed;
    margin-top: 40px;
}

.mobile .closePageBtn, .slotPlugin.mobile .scale div {
    width: 25px;
    height: 25px;
    font-size: 26px;
}

.slotPlugin.mobile header button {
    padding: 5px 10px;
}

.slotPlugin.mobile footer button {
    width: 150px;
    height: 35px;
}

/* .slotPlugin.mobile footer {
    margin-top: 20px;
} */

.slotPlugin.mobile .items >.userSetMode {
    height: 255px;
}

.slotPlugin.mobile .userSetMode .userSetModeItem {
    display: block;
    height: 45px;
    margin-top: 3px;
    font-size: 13px;
}

.slotPlugin.mobile .userSetMode .userSetModeItem:nth-child(5n+3) {
    height: 62px;
}

.slotPlugin.mobile .userSetMode .userSetModeItem > div {
    display: flex;
    align-items: center;
    height: 20px;
    margin-left: 15px;
}

.slotPlugin.mobile .userSetMode .userSetModeItem > div:first-child {
    margin-left: 0;
}

.slotPlugin.mobile input {
    height: 10px;
}

.historicalRecord.mobile {
    width: 100%;
}

.historicalRecord.mobile .contentTable {
    height: 200px;
}

.historicalRecord.mobile table tbody {
    font-size: 15px;
}
