/* 全局默认 */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    user-select: none;
}
/* 遮罩层 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
/* 模态框 */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 2rem;
    width: 30%;
    min-height: 15rem;
    height: auto;
    border-radius: 1rem;
    border: 0.1rem solid #888;
    box-shadow: 0 0.4rem 0.8rem 0 rgba(0, 0, 0, 0.2);
    animation-name: modalopen;
    animation-duration: 0.2s;
}
/* 交互按钮（不重要） */
.open-btn-prompt,
.open-btn-about,
.open-btn-input {
    display: block;
    margin: 0 auto;
    margin-top: 5rem;
    border: 0.1rem solid #ccc;
    width: 15rem;
    height: 4rem;
    border-radius: 0.5rem;
}
/* 模态框标题 */
.speaking_title {
    font-weight: bold;
    font-size: 2rem;
}
/* 模态框内容 */
.speaking_text,
.warning_text {
    font-size: 1.8rem;
    line-height: 5rem;
    margin: 2rem 0;
}
/* 关闭按钮 */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 2.8rem;
    font-weight: bold;
}
/* 关闭按钮样式 */
.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* 模态框内部按钮样式 */
.modal_btn {
    display: flex;
    justify-content: flex-end;
}
/* 关闭按钮统一样式 */
.close_speaking_button {
    display: block;
    width: 7rem;
    height: 3rem;
    border: none;
    border-radius: 0.3rem;
    background: rgba(244, 189, 0, 1);
    color: #fff;
    margin-right: 1rem;
}
/* hover样式 */
.close_speaking_button:hover,
.close_speaking_button:focus {
    background: rgb(194, 149, 3);
}
.close_speaking_button:active {
    background: rgb(194, 149, 3);
}
.cancellation {
    background: #ccc;
}
.cancellation:hover,
.cancellation:focus {
    background: #bab8b8;
}
.cancellation:active {
    background: #ccc;
}
/* 动画 */
@keyframes modalopen {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
/* 输入框样式 */
.input_textarea {
    width: 100% !important;
    margin-bottom: 3rem;
}
