/* ex_version */
p {
    font-family: 'Shippori Mincho';
}

#achieCongrate {
    font-family: sans-serif !important;
}

#achieTextContent {
    font-family: sans-serif !important;
}

.modal-backdrop {
    /* opacity: 0.5; */
    /* Adjust the opacity as needed */
    /* background-color: rgba(0, 0, 0, 0); */
    /* Adjust the color and alpha as needed */
}

.modal-content {
    border: 0;
}

.floating-window-container {
    position: fixed;
    top: 50%;
    left: 50%;
    background-image: url('../../images/badge/floating_window/BG.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) scale(1.0);
    /* 调整 scale 的值来缩放内容 */
    width: 68%;
    height: 88%;
    border-radius: 10px;
    padding: 20px;
}


.floating-window-header {
    position: sticky;
    z-index: 100;
    top: 8px;
    text-align: center;
    color: black;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.floating-window-close-btn {
    position: absolute;
    left: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.window_container {
    padding: 12px;
    overflow-y: auto;
    max-height: 73vh;
    /* 定义滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: darkgrey transparent;
    max-width: 90%;
    margin: 0px auto;
}

/*badge內容*/
.info_suggest img {
    width: 25%;
    height: auto;
    margin: 20px;
}

.info_suggest p {
    font-size: 15px;
    padding: 20px;
}

/*紀錄字卡*/
.record_img {
    width: 25%;
    height: auto;
    margin: 20px;
}

/*記錄框裡設定文字絕對位置*/
.overlay-text {
    position: absolute;
    top: 10px;
    left: 5%;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/*當無紀錄*/
.lockBox {
    width: 90%;
    height: auto;
}

.lockTextBox {
    width: 90%;
    height: auto;
}

.lock-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
}

.lock_word {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
}

/*會有異動的*/
/*當有紀錄*/
.content_dis {
    font-size: 18px;
}

.record_anim {
    height: 40%;
}

.content-trans {
    font-size: 18px;
    text-align: right;
}

/* /ex_version */

@media (max-width: 768px) {

    .floating-window-container {
        position: fixed;
        top: 60%;
        left: 50%;
        background-image: url('../../images/badge/floating_window/phoneBG.svg');
        background-size: contain;
        background-repeat: no-repeat;
        transform: translate(-50%, -50%) scale(1.2);
        /* 调整 scale 的值来缩放内容 */
        border-radius: 10px;
        padding: 20px;
    }

    .info_suggest img,
    .record_img {
        width: 40%;
        height: auto;
        margin: 20px;
    }

    .floating-window-close-btn {
        position: absolute;
        top: -10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    .window_container {
        padding: 12px;
        overflow-y: auto;
        max-height: 55%;
        scrollbar-width: thin;
        scrollbar-color: darkgrey transparent;
        max-width: 90%;
        margin: 0px auto;
    }

    .title {
        font-size: 15px;
    }

    .lockBox {
        width: 30%;
        height: auto;
        transform: translate(30%, 0%);
    }

    .lockTextBox {
        width: 30%;
        height: auto;
        transform: translate(30%, 50%);
    }

    .lock-image {
        display: none;
    }

    .lock_word {
        position: absolute;
        transform: translate(-140%, -50%);
        color: white;
        font-size: 10px;
    }
}