* {
    margin: 0;
    padding: 0;
}

.main-box {
    border-radius: 18px;

    width: 1080px;
    height: 560px;

    background-color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scope-box {
    border-radius: 18px;

    width: 1040px;
    height: 520px;

    background-color: #f8f8f8;

    display: flex;
    align-items: center;
}

.main-scope-left-box {
    width: 520px;
    height: 520px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scope-lucky-box {
    width: 480px;
    height: 480px;
}

.main-scope-right-box {
    width: 520px;
    height: 520px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scope-right-box.disabled {
    pointer-events: none;

    opacity: 0.6;

    cursor: not-allowed;
}

.main-scope-panel-box {
    border-radius: 18px;

    width: 480px;
    height: 480px;

    background-color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scope-panel-inner-box {
    width: 460px;
    height: 460px;
}

.show {
    display: block;
}

.main-scope-panel-operate-box {
    width: 460px;
    height: 44px;

    display: flex;
    align-items: center;
}

.main-scope-panel-operate-left-box {
    border-radius: 22px;

    width: 200px;
    height: 44px;

    background-color: #f8f8f8;

    display: flex;
    align-items: center;
}

.main-scope-panel-operate-entries-box.active, .main-scope-panel-operate-results-box.active {
    background-color: #ffffff;
}

.main-scope-panel-operate-entries-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #f8f8f8;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: background-color 0.3s ease;

    cursor: pointer;
}

.main-scope-panel-operate-entries-box:hover {
    background-color: #ffffff;
}

.main-scope-panel-operate-results-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #f8f8f8;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: background-color 0.3s ease;

    cursor: pointer;
}

.main-scope-panel-operate-results-box:hover {
    background-color: #ffffff;
}

.main-scope-panel-operate-right-box {
    border-radius: 22px;

    width: 44px;
    height: 44px;

    background-color: #f8f8f8;

    margin-left: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.main-scope-panel-entries-box {
    width: 460px;
    height: 406px;

    margin-top: 10px;
}

.main-scope-panel-entries-operate-box {
    width: 460px;
    height: 44px;

    margin-bottom: 10px;
}

.main-scope-panel-entries-operate-left-box {
    border-radius: 22px;

    width: 200px;
    height: 44px;

    background-color: #f8f8f8;

    display: flex;
    align-items: center;
}

.main-scope-panel-entries-operate-shuffle-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #ffffff;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.main-scope-panel-entries-operate-sort-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #ffffff;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.main-scope-panel-entries-operate-advanced-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #ffffff;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.main-scope-panel-entries-inputs-box {
    border-radius: 18px;

    width: 460px;
    height: 352px;

    background-color: #f8f8f8;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scope-panel-entries-inputs-content-box {
    border-radius: 18px;

    width: 440px;
    height: 332px;

    background-color: #ffffff;
}

.main-scope-panel-entries-inputs-content-box > textarea {
    width: 100%;
    height: 100%;

    resize: none;
    border: none;
    outline: none;
    background: transparent;
    caret-color: black;

    font-size: 15px;
    line-height: 1.5;

    padding: 8px;
    box-sizing: border-box;
}

.main-scope-panel-entries-advanced-box {
    border-radius: 18px;

    width: 460px;
    height: 352px;

    background-color: #f8f8f8;

    display: flex;
    justify-content: center;
    align-items: center;

    display: none;
}

.main-scope-panel-results-box {
    width: 460px;
    height: 406px;

    margin-top: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    display: none;
}

.main-scope-panel-results-operate-box {
    width: 460px;
    height: 44px;

    margin-bottom: 10px;
}

.main-scope-panel-results-operate-left-box {
    border-radius: 22px;

    width: 200px;
    height: 44px;

    background-color: #f8f8f8;

    display: flex;
    align-items: center;
}

.main-scope-panel-results-operate-sort-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #ffffff;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.main-scope-panel-results-operate-clear-box {
    border-radius: 22px;

    width: 94px;
    height: 36px;

    background-color: #ffffff;

    margin-left: 4px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.main-scope-panel-results-results-box {
    border-radius: 18px;

    width: 460px;
    height: 352px;

    background-color: #f8f8f8;

    display: flex;
    justify-content: center;
    align-items: center;
}

.main-scope-panel-results-results-content-box {
    border-radius: 18px;

    width: 440px;
    height: 332px;

    background-color: #ffffff;
}

.main-scope-panel-results-results-content-box > textarea {
    width: 100%;
    height: 100%;

    resize: none;
    border: none;
    outline: none;
    background: transparent;
    caret-color: black;

    font-size: 15px;
    line-height: 1.5;

    padding: 8px;
    box-sizing: border-box;
}


.lucky-modal {
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999;
}

.lucky-modal.hidden {
    display: none;
}

.lucky-modal-content {
    border-radius: 18px;

    background: #fff;

    padding: 24px 32px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

    text-align: center;

    animation: scaleFadeIn 0.35s ease-out;
}

.lucky-modal-content h2 {
    margin-bottom: 10px;

    font-size: 22px;
    color: #2bab5e;
}

.lucky-modal-content p {
    margin-bottom: 20px;

    font-size: 18px;
}

.lucky-modal-content button {
    border-radius: 8px;

    border: none;
    background-color: #2bab5e;

    padding: 8px 18px;

    color: #fff;

    font-size: 14px;
    cursor: pointer;

    transition: background 0.2s ease;
}

.lucky-modal-content button:hover {
    background-color: #23984f;
}

@keyframes scaleFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 1120px) {
    .main-box {
        width: calc(100vw - 20px);
        height: calc((100vw - 30px) * 2);
    }

    .main-scope-box {
        width: calc(100vw - 40px);
        height: calc((100vw - 40px) * 2);

        display: unset;
        align-items: unset;
    }

    .main-scope-left-box {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }

    .main-scope-lucky-box {
        width: calc(100vw - 60px);
        height: calc(100vw - 60px);
    }

    .main-scope-right-box {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }

    .main-scope-panel-box {
        width: calc(100vw - 60px);
        height: calc(100vw - 60px);
    }

    .main-scope-panel-inner-box {
        width: calc(100vw - 80px);
        height: calc(100vw - 80px);
    }

    .main-scope-panel-operate-box {
        width: calc(100vw - 80px);
        height: 44px;
    }

    .main-scope-panel-entries-box {
        width: calc(100vw - 80px);
        height: calc(100vw - 134px);
    }

    .main-scope-panel-entries-operate-box {
        width: calc(100vw - 80px);
        height: 44px;
    }

    .main-scope-panel-entries-inputs-box {
        width: calc(100vw - 80px);
        height: calc(100vw - 188px);
    }

    .main-scope-panel-entries-inputs-content-box {
        width: calc(100vw - 100px);
        height: calc(100vw - 210px);
    }

    .main-scope-panel-entries-advanced-box {
        width: calc(100vw - 80px);
        height: calc(100vw - 158px);
    }

    .main-scope-panel-results-box {
        width: calc(100vw - 80px);
        height: calc(100vw - 134px);
    }

    .main-scope-panel-results-operate-box {
        width: calc(100vw - 80px);
        height: 44px;
    }

    .main-scope-panel-results-results-box {
        width: calc(100vw - 80px);
        height: calc(100vw - 188px);
    }

    .main-scope-panel-results-results-content-box {
        width: calc(100vw - 100px);
        height: calc(100vw - 210px);
    }
}


