@font-face {
    font-family: my-font;
    src: url('../font/輸入與數字顯示字體.otf');
}

.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }

}

input[type=file] {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 30;
}

html, body {

    /* overflow: hidden; */
    font-family: en, zh !important;
    -webkit-touch-action: none;
    -moz-touch-action: none;
    -o-touch-action: none;
    touch-action: none;
}

.ui-container {
    display: none;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: en, zh !important;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.font-buffer {
    opacity: 0.1;
    font-family: en, zh !important;
    position: absolute;
    bottom: 0;
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}

#p1 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body[version='NG'] #p1 {
    background-image: url('../image/01首頁/首頁01-2_背景未發光.png');
}

body[version='TP'] #p1 {
    background-image: url('../image/切版素材_移展/01首頁/首頁01-2_背景未發光.png');
}

#p1-blink {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    animation: blink 1s ease-in-out infinite;
}

body[version='NG'] #p1 {
    background-image: url('../image/01首頁/首頁01-1_背景_發光.png');
}

body[version='TP'] #p1-blink {
    background-image: url('../image/切版素材_移展/01首頁/首頁01-1_背景_發光.png');
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}

#start-btn, #enter-bid-btn {
    position: absolute;
    width: 100%;
    height: 10%;
    left: 0;
    top: 80%;
    background-image: url('../image/01首頁/首頁02_按鈕_開始體驗.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#p2 {
    background-image: url('../image/02互動說明/說明01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#name-btn, #battery-btn, #correct-btn, #completion-btn, #completion-btn-2, #start-bid-btn, #query-btn, #redeem-btn, #replay-btn {
    position: absolute;
    width: 100%;
    height: 9%;
    left: 0;
    top: 85%;
    background-image: url('../image/02互動說明/說明02_按鈕_設計完成.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#name-btn.lock {
    background-image: url('../image/02互動說明/說明02_按鈕_設計完成_灰.png');
}

#name {
    border: none;
    background: none;
    position: absolute;
    width: 60%;
    height: 5%;
    left: 20%;
    top: 74%;
    background-image: url('../image/02互動說明/說明03_輸入提示文字.png');
    background-size: 80% 47%;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    font-family: my-font;
}

#name:not(:placeholder-shown) {
    background-image: none;
}

input:focus {
    outline: none;
}

.same-id-dialog {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 20%;
    width: 100%;
    height: 60%;
    background-image: url('../image/02互動說明/說明04_提示框.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#yes-btn {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 50%;
    width: 100%;
    height: 9%;
    background-image: url('../image/02互動說明/說明05_按鈕_正確.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#no-btn {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 60%;
    width: 100%;
    height: 9%;
    background-image: url('../image/02互動說明/說明05_按鈕_重新輸入.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#p3 {
    background-image: url('../image/03選擇案場/選擇案場01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.land, .gear-layer {
    position: absolute;
    width: 100%;
    height: 40%;
    left: 0;
    top: 18%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.land[color='綠'] {
    background-image: url('../image/03選擇案場/3個案場/案場1_綠.png');
}

.land[color='黃'] {
    background-image: url('../image/03選擇案場/3個案場/案場2_黃.png');
}

.land[color='紅'] {
    background-image: url('../image/03選擇案場/3個案場/案場3_紅.png');
}

.land-name {
    position: absolute;
    width: 40%;
    height: 6%;
    top: 52%;
    left: 30%;
    border-width: 2px;
    border-color: #00ff00;
    font-family: 'my-font';
    border-radius: 100px;
    text-align: center;
    background: white;
    border-style: solid;
    box-sizing: border-box;
    line-height: 40px;
}

.land-sign {
    position: absolute;
    width: 6.5%;
    height: 2.5%;
    top: 64%;
    background-color: #aaaaaa;
}

.land-sign[color='綠'] {
    left: 37%;
}

.land-sign[color='黃'] {
    left: 47%;
}

.land-sign[color='紅'] {
    left: 57%;
}

.land-sign.selected {
    background-color: #00ff00;
}

#land-left-btn {
    position: absolute;
    width: 20%;
    height: 8%;
    left: 14%;
    top: 61.5%;
    background-image: url('../image/03選擇案場/選擇案場02_按鈕_切換.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#land-right-btn {
    position: absolute;
    width: 20%;
    height: 8%;
    left: 66%;
    top: 61.5%;
    background-image: url('../image/03選擇案場/選擇案場02_按鈕_切換.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scaleX(-1);
}

#land-btn, #gear-btn, #start-draw-btn, #draw-btn {
    position: absolute;
    width: 80%;
    height: 9%;
    left: 17%;
    top: 85%;
    background-image: url('../image/02互動說明/說明02_按鈕_設計完成.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#land-back-btn, #gear-back-btn, #qr-back-btn, #question-back-btn, #close-next-btn, #start-draw-back-btn, #draw-back-btn {
    position: absolute;
    width: 17%;
    height: 9%;
    left: 8%;
    top: 85%;
    background-image: url('../image/03選擇案場/選擇案場02_按鈕_返回.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#p4 {
    background-image: url('../image/04選擇裝置/選擇裝置1_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#p4 .land, #p4 .gear-layer {
    top: 40%;
}

#p4 .land-name {
    top: 74%;
}

.gear-btn {
    position: absolute;
    width: 30%;
    height: 10%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#gear1-btn {
    left: 5%;
    top: 22%;
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕1_儲能_暗.png');
}

#gear1-btn.selected {
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕1_儲能_亮.png');
}

#gear2-btn {
    left: 35%;
    top: 22%;
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕2_光_暗.png');
}

#gear2-btn.selected {
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕2_光_亮.png');
}

#gear3-btn {
    left: 65%;
    top: 22%;
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕3_風_暗.png');
}

#gear3-btn.selected {
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕3_風_亮.png');
}

#gear4-btn {
    left: 5%;
    top: 32%;
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕4_水_暗.png');
}

#gear4-btn.selected {
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕4_水_亮.png');
}

#gear5-btn {
    left: 35%;
    top: 32%;
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕5_地熱_暗.png');
}

#gear5-btn.selected {
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕5_地熱_亮.png');
}

#gear6-btn {
    left: 65%;
    top: 32%;
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕6_海_暗.png');
}

#gear6-btn.selected {
    background-image: url('../image/04選擇裝置/裝置按鈕/裝置按鈕6_海_亮.png');
}

#gear-btn.lock {
    background-image: url('../image/02互動說明/說明02_按鈕_設計完成_灰.png');
}

.gear-layer[land='綠'][gear='gear1-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_綠/裝置1_綠_儲能.png');
}

.gear-layer[land='綠'][gear='gear2-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_綠/裝置2_綠_光.png');
}

.gear-layer[land='綠'][gear='gear3-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_綠/裝置3_綠_風.png');
}

.gear-layer[land='綠'][gear='gear4-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_綠/裝置4_綠_水.png');
}

.gear-layer[land='綠'][gear='gear5-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_綠/裝置5_綠_地熱.png');
}

.gear-layer[land='綠'][gear='gear6-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_綠/裝置6_綠_海.png');
}

.gear-layer[land='黃'][gear='gear1-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_黃/裝置1_黃_儲能.png');
}

.gear-layer[land='黃'][gear='gear2-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_黃/裝置2_黃_光.png');
}

.gear-layer[land='黃'][gear='gear3-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_黃/裝置3_黃_風.png');
}

.gear-layer[land='黃'][gear='gear4-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_黃/裝置4_黃_水.png');
}

.gear-layer[land='黃'][gear='gear5-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_黃/裝置5_黃_地熱.png');
}

.gear-layer[land='黃'][gear='gear6-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_黃/裝置6_黃_海.png');
}

.gear-layer[land='紅'][gear='gear1-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_紅/裝置1_紅_儲能.png');
}

.gear-layer[land='紅'][gear='gear2-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_紅/裝置2_紅_光.png');
}

.gear-layer[land='紅'][gear='gear3-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_紅/裝置3_紅_風.png');
}

.gear-layer[land='紅'][gear='gear4-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_紅/裝置4_紅_水.png');
}

.gear-layer[land='紅'][gear='gear5-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_紅/裝置5_紅_地熱.png');
}

.gear-layer[land='紅'][gear='gear6-btn'] {
    background-image: url('../image/04選擇裝置/案場裝置/裝置_紅/裝置6_紅_海.png');
}

#p5 {
    background-image: url('../image/05引導收集/引導收集01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.next-dialog {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 15%;
    width: 100%;
    height: 60%;
    background-image: url('../image/11前往電力交易/前往01_提示框.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#next-dialog-container .score {
    top: 24%;
    z-index: 100;
    left: 36.5%;
}

#next-dialog-container .mask, #p12 .mask {
    display: block;
}

#to-next-btn {
    position: absolute;
    width: 80%;
    height: 9%;
    left: 17%;
    top: 85%;
    background-image: url('../image/11前往電力交易/前往02_按鈕_前往電力交易.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#battery-btn {
    background-image: url('../image/05引導收集/引導收集02_按鈕_開始掃描.png');
}

.battery-border {
    position: absolute;
    width: 60%;
    height: 9%;
    left: 20%;
    top: 69%;
    background-image: url('../image/05引導收集/電力框.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.battery-slot {
    position: absolute;
    top: 15%;
    width: 13%;
    height: 66%;
    background-image: url('../image/05引導收集/電力_灰.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.battery-slot.full {
    background-image: url('../image/05引導收集/電力_綠.png');
}

.battery-slot:nth-child(1) {
    left: 6%;
}

.battery-slot:nth-child(2) {
    left: 18%;
}

.battery-slot:nth-child(3) {
    left: 30%;
}

.battery-slot:nth-child(4) {
    left: 42%;
}

.battery-slot:nth-child(5) {
    left: 54%;
}

.battery-slot:nth-child(6) {
    left: 66%;
}

.score {
    font-family: 'my-font';
    position: absolute;
    width: 17%;
    height: 10%;
    text-align: center;
    left: 68%;
    top: 70%;
}

.camera-frame {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-image: url('../image/06QR偵測/QR偵測01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.camera-icon {
    position: absolute;
    top: 51%;
    left: 25%;
    width: 50%;
    height: 12%;
    z-index: 10;
    background-image: url('../image/06QR偵測/QR偵測02_前景icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

#qr-reader {
    position: absolute;
    top: 24%;
    left: 8%;
    width: 84% !important;
    height: 70%;
    overflow: hidden;
}

#qr-reader img {
    display: none;
}

#qr-reader video {
    transform-origin: top;
}

#p7 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#p7[q='1'] {
    background-image: url('../image/07QA/Q1_儲能.png');
}

#p7[q='2'] {
    background-image: url('../image/07QA/Q2_光.png');
}

#p7[q='3'] {
    background-image: url('../image/07QA/Q3_風.png');
}

#p7[q='4'] {
    background-image: url('../image/07QA/Q4_水.png');
}

#p7[q='5'] {
    background-image: url('../image/07QA/Q5_地熱.png');
}

#p7[q='6'] {
    background-image: url('../image/07QA/Q6_海.png');
}

.answer-btn {
    position: absolute;
    left: 0%;
    width: 100%;
    height: 10%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.answer-btn:nth-child(1) {
    top: 43%;
    display: none;
}

.answer-btn:nth-child(2) {
    top: 53%;
    display: none;
}

.answer-btn:nth-child(3) {
    top: 63%;
    display: none;
}

.answer-btn:nth-child(4) {
    top: 73%;
    display: none;
}

#p7[q='1'] .a1 {
    background-image: url('../image/07QA/A1_儲能-A.png');
    display: block;
}

#p7[q='1'] .a2 {
    background-image: url('../image/07QA/A1_儲能-B.png');
    display: block;
}

#p7[q='1'] .a3 {
    background-image: url('../image/07QA/A1_儲能-C.png');
    display: block;
}

#p7[q='1'] .a4 {
    background-image: url('../image/07QA/A1_儲能-D.png');
    display: block;
}

#p7[q='2'] .a1 {
    background-image: url('../image/07QA/A2_光-A.png');
    display: block;
}

#p7[q='2'] .a2 {
    background-image: url('../image/07QA/A2_光-B.png');
    display: block;
}

#p7[q='2'] .a3 {
    background-image: url('../image/07QA/A2_光-C.png');
    display: block;
}

#p7[q='2'] .a4 {
    background-image: url('../image/07QA/A2_光-D.png');
    display: block;
}

#p7[q='3'] .a1 {
    background-image: url('../image/07QA/A3_風-A.png');
    display: block;
}

#p7[q='3'] .a2 {
    background-image: url('../image/07QA/A3_風-B.png');
    display: block;
}

#p7[q='3'] .a3 {
    background-image: url('../image/07QA/A3_風-C.png');
    display: block;
}

#p7[q='3'] .a4 {
    background-image: url('../image/07QA/A3_風-D.png');
    display: block;
}

#p7[q='4'] .a1 {
    background-image: url('../image/07QA/A4_水-A.png');
    display: block;
    height: 13%;
    top: 41%;
}

#p7[q='4'] .a2 {
    background-image: url('../image/07QA/A4_水-B.png');
    display: block;
    height: 13%;
    top: 53%;
}

#p7[q='4'] .a1:nth-child(2) {
    top: 53%;
}

#p7[q='4'] .a2:nth-child(1) {
    top: 41%;
}

#p7[q='5'] .a1 {
    background-image: url('../image/07QA/A5_地熱-A.png');
    display: block;
}

#p7[q='5'] .a2 {
    background-image: url('../image/07QA/A5_地熱-B.png');
    display: block;
}

#p7[q='5'] .a3 {
    background-image: url('../image/07QA/A5_地熱-C.png');
    display: block;
}

#p7[q='5'] .a4 {
    background-image: url('../image/07QA/A5_地熱-D.png');
    display: block;
}

#p7[q='6'] .a1 {
    background-image: url('../image/07QA/A6_海-A.png');
    display: block;
}

#p7[q='6'] .a2 {
    background-image: url('../image/07QA/A6_海-B.png');
    display: block;
}

#p7[q='6'] .a3 {
    background-image: url('../image/07QA/A6_海-C.png');
    display: block;
}

#p7[q='6'] .a4 {
    background-image: url('../image/07QA/A6_海-D.png');
    display: block;
}

.mask {
    display: none;
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 0%;
    width: 100%;
    height: 100%;
    background-image: url('../image/壓暗遮罩.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.wrong-ans-dialog {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 27%;
    width: 100%;
    height: 44%;
    background-image: url('../image/08回答錯誤/回答錯誤01_提示框.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#close-wrong-ans-btn {
    position: absolute;
    z-index: 100;
    left: 20%;
    top: 56%;
    width: 60%;
    height: 9%;
    background-image: url('../image/08回答錯誤/回答錯誤02_按鈕_繼續挑戰.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#score-anim {
    width: 48%;
    height: 24%;
    background-image: url('../image/09回答正確/加分動態_連續圖/spritesheet.png');
    background-repeat: no-repeat;
    background-size: 1000% 700%;
    position: absolute;
    top: 23%;
    left: 26%;
}

#p8 {
    background-image: url('../image/09回答正確/回答正確01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#correct-btn {
    background-image: url('../image/09回答正確/回答正確02_按鈕_挑戰下一題.png');
}

#p8 .land, #p8 .gear-layer {
    top: 29%;
}

#p8 .land-name {
    top: 63%;
}

#p8 .battery-border, #p9 .battery-border, #p9-2 .battery-border {
    top: 73%;
}

#p8 .score, #p9 .score, #p9-2 .score {
    top: 74%;
}

#p9, #p9-2 {
    background-image: url('../image/10查詢/查詢01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#p11 .score.score2 {
    font-family: 'my-font';
    color: #000000;
    position: absolute;
    width: 17%;
    height: 10%;
    text-align: center;
    left: 68%;
    top: 74%;
}

.completion-container {
    position: absolute;
    width: 70%;
    height: 46%;
    left: 15%;
    top: 17%;
}

.completion-slot {
    position: absolute;
    width: 50%;
    height: 33%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.completion-slot:nth-child(1) {
    left: 0%;
    top: 0%;
    background-image: url('../image/10查詢/查詢03_儲能_暗.png');
}

.completion-slot.full:nth-child(1) {
    background-image: url('../image/10查詢/查詢03_儲能_亮.png');
}

.completion-slot:nth-child(2) {
    left: 50%;
    top: 0%;
    background-image: url('../image/10查詢/查詢03_光_暗.png');
}

.completion-slot.full:nth-child(2) {
    background-image: url('../image/10查詢/查詢03_光_亮.png');
}

.completion-slot:nth-child(3) {
    left: 0%;
    top: 33%;
    background-image: url('../image/10查詢/查詢03_風_暗.png');
}

.completion-slot.full:nth-child(3) {
    background-image: url('../image/10查詢/查詢03_風_亮.png');
}

.completion-slot:nth-child(4) {
    left: 50%;
    top: 33%;
    background-image: url('../image/10查詢/查詢03_水_暗.png');
}

.completion-slot.full:nth-child(4) {
    background-image: url('../image/10查詢/查詢03_水_亮.png');
}

.completion-slot:nth-child(5) {
    left: 0%;
    top: 66%;
    background-image: url('../image/10查詢/查詢03_地熱_暗.png');
}

.completion-slot.full:nth-child(5) {
    background-image: url('../image/10查詢/查詢03_地熱_亮.png');
}

.completion-slot:nth-child(6) {
    left: 50%;
    top: 66%;
    background-image: url('../image/10查詢/查詢03_海_暗.png');
}

.completion-slot.full:nth-child(6) {
    background-image: url('../image/10查詢/查詢03_海_亮.png');
}

#completion-btn, #completion-btn-2 {
    background-image: url('../image/10查詢/查詢02_按鈕_返回繼續挑戰.png');
}

#p10 {
    background-image: url('../image/12第二階段/第二01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body[version='TP'] #p10 {
    background-image: url('../image/切版素材_移展/12第二階段/第二01_背景.png');
}

#enter-bid-btn {
    background-image: url('../image/12第二階段/第二02_按鈕_進入競標.png');
}

#p11 {
    background-image: url('../image/13設定度數單價/設定01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#start-bid-btn {
    background-image: url('../image/13設定度數單價/設定02_按鈕_開始競標.png');
}

#p11 .score {
    top: 13.2%;
    left: 35.5%;
    color: #00ff00;
}

#p11 .battery-border {
    top: 73%;
}

.wrong-bid-dialog {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 15%;
    width: 100%;
    height: 60%;
    background-image: url('../image/14投標提示/投標提示01_提示框.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrong-bid2-dialog {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 15%;
    width: 100%;
    height: 60%;
    background-image: url('../image/14投標提示/投標提示03_提示框_超過數值.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wrong-bid3-dialog {
    position: absolute;
    z-index: 100;
    left: 0%;
    top: 15%;
    width: 100%;
    height: 60%;
    background-image: url('../image/14投標提示/投標提示04_提示框_數值為0.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#price-hint-text {
    position: absolute;
    width: 100%;
    height: 6%;
    top: 37.7%;
    left: 0%;
    font-family: 'my-font';
    text-align: center;
    z-index: 100;
    letter-spacing: 1px;
}

#close-wrong-bid-btn, #close-wrong-bid2-btn, #close-wrong-bid3-btn {
    position: absolute;
    z-index: 100;
    left: 10%;
    top: 56%;
    width: 80%;
    height: 11%;
    background-image: url('../image/14投標提示/投標提示02_按鈕_繼續投標.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#p12 {
    background-image: url('../image/15緩衝/緩衝01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body[version='TP'] #p12 {
    background-image: url('../image/切版素材_移展/15緩衝/緩衝01_背景.png');
}

.buffer-hint {
    position: absolute;
    width: 80%;
    height: 10%;
    top: 78%;
    left: 10%;
    background-image: url('../image/15緩衝/緩衝02_文字提示.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 100;
}

#buffer-anim {
    position: absolute;
    width: 80%;
    height: 45%;
    top: 31%;
    left: 10%;
    background-image: url('../image/15緩衝/緩衝動態/spritesheet.png');
    background-repeat: no-repeat;
    background-size: 1000% 900%;
    z-index: 100;
}

.number-selector-container {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    display: none;
    z-index: 25;
}

.number-selector {
    position: absolute;
    width: 20%;
    height: 21.5%;
    background-image: url('../image/13設定度數單價/設定04_數字調整框.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    z-index: 5;
    overflow: hidden;
}

#day-kwh-selector-container .number-selector, #night-kwh-selector-container .number-selector {
    z-index: 50;
}

.number-selector-shadow {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../image/13設定度數單價/設定05_數字調整遮罩.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    z-index: 10;
    pointer-events: none;
}

.number-selector-btn {
    position: absolute;
    width: 20%;
    height: 4.5%;
}

#day-kwh-selector {
    left: 39%;
    top: 29%;
}

#day-kwh-btn {
    left: 39%;
    top: 37.5%;
}

#day-price-selector {
    left: 39%;
    top: 34.7%;
}

#day-price-btn {
    left: 39%;
    top: 43.2%;
}

#night-kwh-selector {
    left: 39%;
    top: 46.3%;
}

#night-kwh-btn {
    left: 39%;
    top: 54.7%;
}

#night-price-selector {
    left: 39%;
    top: 52%;
}

#night-price-btn {
    left: 39%;
    top: 60.4%;
}

.number-container {
    position: absolute;
    left: 15%;
    top: 0px;
    width: 35%;
    height: 200%;
    pointer-events: none;
    padding-top: 75%;
    box-sizing: border-box;
}

.number-selector-btn .number-container {
    padding-top: 0%;
    height: 100%;
}

.number-selector-container .number-container {
    pointer-events: all;
}

.number-container:nth-child(2) {
    left: 50%;
}

.digit {
    position: relative;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 70% 70%;
    background-position: center;
    top: 0%;
    left: 0%;
}

.number-selector-container .digit {
    height: 13%;
}

.digit[digit='0'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_0.png');
}

.digit[digit='1'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_1.png');
}

.digit[digit='2'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_2.png');
}

.digit[digit='3'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_3.png');
}

.digit[digit='4'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_4.png');
}

.digit[digit='5'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_5.png');
}

.digit[digit='6'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_6.png');
}

.digit[digit='7'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_7.png');
}

.digit[digit='8'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_8.png');
}

.digit[digit='9'] {
    background-image: url('../image/13設定度數單價/數字/數字_白_9.png');
}

.digit-dot {
    pointer-events: none;
    position: absolute;
    left: 46%;
    top: 59%;
    height: 22%;
    width: 8%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../image/13設定度數單價/數字/小數點_白.png');
    z-index: 20;
}

.number-selector-container .digit-dot {
    pointer-events: none;
    position: absolute;
    left: 46%;
    top: 52%;
    height: 5%;
    width: 8%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url('../image/13設定度數單價/數字/小數點_白.png');
    z-index: 20;
}

#p13 {
    background-image: url('../image/16電力交易證明/交易證明01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#p13.fail {
    background-image: url('../image/16電力交易證明/交易證明03_背景_未得標.png');
}

#query-btn {
    background-image: url('../image/16電力交易證明/交易證明02_按鈕_查看得標證明.png');
}

#p13 .land, #p13 .gear-layer {
    top: 33%;
}

#p13 .land-name {
    top: 67%;
}

#win {
    position: absolute;
    width: 40%;
    height: 6%;
    top: 13.5%;
    left: 27.5%;
    font-family: 'my-font';
    text-align: center;
    color: #00ff00;
}

#p14 {
    background-image: url('../image/17玩家憑證證明/憑證證明01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

body[version='TP'] #p14 {
    background-image: url('../image/切版素材_移展/17玩家憑證證明/憑證證明01_背景.png');
}

#redeem-btn {
    background-image: url('../image/17玩家憑證證明/憑證證明02_按鈕_兌換獎品.png');
}

body[version='TP'] #redeem-btn {
    display: none;
}

#replay-btn {
    background-image: url('../image/切版素材_移展/17玩家憑證證明/憑證證明02_按鈕_重新挑戰.png');
}

body[version='NG'] #replay-btn {
    display: none;
}

.fail-mask {
    position: absolute;
    width: 100%;
    height: 16%;
    left: 0%;
    background-image: url('../image/17玩家憑證證明/憑證證明03_未得標.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    z-index: 2;
}

#fail-mask-1 {
    top: 34%;
}

#fail-mask-2 {
    top: 52%;
}

body[version='TP'] #fail-mask-1 {
    top: 45.5%;
}

body[version='TP'] #fail-mask-2 {
    top: 62.5%;
}

#win-msg {
    position: absolute;
    width: 100%;
    height: 20%;
    left: 0%;
    top: 25%;
    background-image: url('../image/切版素材_移展/17玩家憑證證明/憑證證明04_文案_有得標.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    z-index: 2;
}

#fail-msg {
    position: absolute;
    width: 100%;
    height: 20%;
    left: 0%;
    top: 25%;
    background-image: url('../image/切版素材_移展/17玩家憑證證明/憑證證明04_文案_未得標.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: none;
    z-index: 2;
}

body[version='NG'] #win-msg, body[version='NG'] #fail-msg {
    display: none !important;
}

.result-text {
    position: absolute;
    width: 40%;
    height: 6%;
    left: 30.5%;
    font-family: 'my-font';
    text-align: center;
    color: #000000;
    letter-spacing: 2px;
}

#my-day-kwh {
    top: 37.5%;
}

#my-day-price {
    top: 43%;
}

#my-night-kwh {
    top: 54.8%;
}

#my-night-price {
    top: 60.5%;
}

body[version='TP'] #my-day-kwh {
    top: 48.1%;
}

body[version='TP'] #my-day-price {
    top: 53.8%;
}

body[version='TP'] #my-night-kwh {
    top: 65.5%;
}

body[version='TP'] #my-night-price {
    top: 71%;
}

#p15 {
    background-image: url('../image/18參加獎/參加獎01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#start-draw-btn {
    background-image: url('../image/18參加獎/參加獎02_按鈕_參加得標抽獎.png');
}

#start-draw-btn.lock {
    background-image: url('../image/18參加獎/參加獎02_按鈕_參加得標抽獎_灰.png');
}

#participation-out-of-quantity {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 25%;
    height: 57%;
    background-image: url('../image/18參加獎/參加獎02_獎品已送完.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#win-participation-reward {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 24%;
    height: 44%;
    background-image: url('../image/18參加獎/參加獎02_獎品顯示.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#participation-reward-code {
    position: absolute;
    width: 70%;
    left: 15%;
    top: 106%;
    height: 15%;
    border: none;
    background: none;
    border-bottom: 1px solid #000000;
    text-align: left;
    font-family: my-font;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding: 5px;
    background-image: url('../image/18參加獎/參加獎03_輸入提示.png');
    background-size: 74% 36%;
    background-repeat: no-repeat;
    background-position: 5% 50%;
    text-align: center;
}

#participation-reward-code:not(:placeholder-shown) {
    background-image: none;
}

#submit-participation-reward-code {
    position: absolute;
    width: 20%;
    left: 70%;
    top: 103%;
    height: 20%;
    background-image: url('../image/18參加獎/參加獎02_按鈕_完成.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#already-have-participation-reward-ui {
    position: absolute;
    width: 60%;
    left: 20%;
    top: 85%;
    height: 20%;
    background-image: url('../image/18參加獎/參加獎05_已完成兌獎.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#p16 {
    background-image: url('../image/01首頁/首頁01-2_背景未發光.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#p16 .mask {
    display: block;
}

.wheel {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 36%;
    height: 37%;
    z-index: 101;
    background-image: url('../image/19得標轉盤/得標轉盤01_轉盤.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center;
    transform: rotate(0deg);
}

.wheel.play {
    animation: rotate 3s ease-in-out 1;
    animation-fill-mode: forwards;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(3500deg);
    }

}

.wheel-pin {
    position: absolute;
    width: 12%;
    left: 44%;
    top: 35%;
    height: 8%;
    z-index: 101;
    background-image: url('../image/19得標轉盤/得標轉盤02_指標.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#draw-btn {
    background-image: url('../image/19得標轉盤/得標轉盤03_按鈕_立即抽獎.png');
    z-index: 101;
}

#draw-back-btn {
    z-index: 101;
}

#p17 {
    background-image: url('../image/18參加獎/參加獎01_背景.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#p17 .mask {
    display: block;
}

#lose-special-reward {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 25%;
    height: 60%;
    background-image: url('../image/20得標獎/得標獎02_未中獎.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 101;
}

#win-special-reward {
    position: absolute;
    width: 100%;
    left: 0%;
    top: 25%;
    height: 60%;
    background-image: url('../image/20得標獎/得標獎01_獎品顯示.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 101;
}

#special-back-btn {
    position: absolute;
    width: 15%;
    left: 74%;
    top: 27%;
    height: 10%;
    background-image: url('../image/20得標獎/得標獎02_按鈕_關閉.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 101;
}

#special-reward-code {
    position: absolute;
    width: 64%;
    left: 18%;
    top: 74%;
    height: 11%;
    border: none;
    background: none;
    border-bottom: 1px solid #000000;
    text-align: left;
    font-family: my-font;
    letter-spacing: 1px;
    box-sizing: border-box;
    padding: 5px;
    background-image: url('../image/18參加獎/參加獎03_輸入提示.png');
    background-size: 74% 36%;
    background-repeat: no-repeat;
    background-position: 5% 50%;
    text-align: center;
}

#special-reward-code:not(:placeholder-shown) {
    background-image: none;
}

#submit-special-reward-code {
    position: absolute;
    width: 20%;
    left: 66%;
    top: 69%;
    height: 20%;
    background-image: url('../image/18參加獎/參加獎02_按鈕_完成.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#already-have-special-reward-ui {
    position: absolute;
    width: 60%;
    left: 20%;
    top: 70%;
    height: 20%;
    background-image: url('../image/18參加獎/參加獎05_已完成兌獎.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.landscape-mode-hint {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    background-image: url('../image/手機轉為直式提示.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.portrait #landscape-mode-hint-container {
    display: none;
}

.landscape #landscape-mode-hint-container {
    display: block;
}
