body {
    background-color: #fff;
    color: white;
    /*infinite alternate*/
    text-align: center;
    font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", sans-serif;
}
button {
    /*去掉点击后的蓝框*/
    outline: none; 
}
@keyframes weakup  {
    100% {
        background: #0C8484;
    }
}
@keyframes sleep  {
    100% {
        background: #fff;
    }
}
.container { 
    width: 300px; 
    margin: 50px auto 0;
}
.button-box { 
    text-align: center; 
}
#state { 
    font-size: 16px; 
    text-align: center; 
    padding: 5px 0; 
}
#audio { 
    text-align: center; 
}
#canvas {
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   z-index: -1;
}
#sysArgsContainer input {
    font-size: 12px;
    padding: 5px;
    width: 66px;
    margin: auto;
    text-align: center;
}

#sysArgsContainer label {
    padding: 5px;
}

#sysArgsContainer {
    display: none;
    margin-top: 300px;
    border-radius: 5px; 
    text-align: center;
    font-size: 14px;
    width: 80%;
    margin: 10px auto;
    padding: 5px;
    background-color: #fff;
    color: black;
}

button {
    background-color: #99CCCC;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
}

#logsContainer {
    display: none;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 40%;
    background-color: rgba(0,0,0,0.2);
    border-radius: 10px 10px 0 0;
    color: white;
    position: fixed;
    margin-bottom: 0px;
    padding: 10px 0;
    overflow-y: scroll;

    text-align: left;
}

#logsContainer p {
    margin: 0;
    font-size: 14px;
    padding: 0 10%;
    line-height: 120%;
}

#close {
    text-align: center;
}

#video {
    width: 90%;
    margin: auto;
    display: none;
}

#playController {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
}

#atheneController {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
}

#playController button {
    margin: 10px 5px;
}

#atheneController button {
    margin: 10px 5px;
}

#playCtlContainer {
    display: none;
}

#atheneCtlContainer {
    display: none;
}

#play {
    display: none;
}

#inputContainer {
    display: none;
    text-align: center;
    padding: 10px 0;
}

#inputContainer button {
    margin: 0;
}

input:focus {
    border: none;
    background: none;  
    outline: none; 
}

#mmode {
    background-color: rgba(0, 0, 0, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

#mmode img {
    width: 20px;
}

#mmodeContainer {
    display: none;
}

#open {
    display: flex; 
    direction: column;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center; 
    align-content: center;
    padding-top: 100px; 
   
}

#open img {
    width: 60px
}

#openImg {
    width: 100%;
    text-align: center;
}

#openTips {
    width: 100%;
    text-align: center;
    color: #8a8a8a;
    font-size: 12px;
}

#audioFlagContainer {
    display: none;
    text-align: center;
}

#audioFlagContainer img {
    width: 40px;
}

#music {
    margin: auto;
    display: none;
    margin-top: 20px;
}

#article {
    margin: auto;
    display: none;
    margin-top: 20px;
}

#style {
    display: none;
}

#inputContainer input {
    color: white;

    width: inherit; 

    border: 1px solid #fff; 
    border-top-style: none; 
    border-left-style: none; 
    border-right-style: none;

    background: none; 
}

#help {
    display: none;
    color: black;
    background-color: white;
    text-align: left;
    font-size: 14px;
    border-radius: 10px;
    padding: 5px 20px;
    margin-top: 10px;
}

#help span {
    border-radius: 5px; 
    background-color: #99CCCC; 
    padding: 1px; 
}

#help p {
    margin: 8px 0;
}

#help button {
    background-color: #ff9999;
}

#athenePlay {
    display: none;
}

#words {
    font-size: 14px;
    margin-bottom: 10px;
}

#plan_div_wrapper {
    background-color: white;
    border-radius: 10px;
    font-size: 14px;
    margin:5px auto;
}

#plan_div {
    padding: 5px 10px;
    text-align: left;
}

#plan_div p {
    display: flex;
    justify-content: left;
    align-content: center;
    align-items: center;

    color: black;
}

#plan_div button {
    border: none;
    border-radius: 5px;
}

#cmd_div_wrapper {
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;

    text-align: left;
    user-select:none;

    margin: 5px auto;
}

#cmd_div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 10px;
}

#cmd_div p {
    margin: 3px;
}

.cmd_div_ele {
    background-color: #0C8484; 
    color: white; 
    /*padding: 30px;*/
    border-radius: 5px;
    width: 70px;
    height: 100px;
    margin: 3px;

    display: flex;
    justify-content: space-around;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#url_div_wrapper {
    display: none;
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    margin: 5px 0;
}

#url_div_wrapper input[name='close'] {
    background-color: #ff9999;
}

#url_div_wrapper input[name='send'] {
    background-color: #99CCCC;
}

#url_div_wrapper input[type='button'] {
    font-size: 14px;

    border: none;
    border-radius: 5px;
}

#url_div_wrapper input[type='text'] {
    width: 300px;
    margin: auto; 

    border: 1px solid #4185f4; 
    border-top-style: none; 
    border-left-style: none; 
    border-right-style: none
}

#note_div {
    display: none;
    color: black;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    margin: 5px 0;
}

#note_div input[name='close'] {
    background-color: #ff9999;
}

#note_div input[type='button'] {
    font-size: 14px;

    border: none;
    border-radius: 5px;
}

#note_div input[type='text'] {
    width: 300px;
    margin: auto; 

    border: 1px solid #4185f4; 
    border-top-style: none; 
    border-left-style: none; 
    border-right-style: none
}

#article_src_div p {
    width: 25%;
    margin: 3px 0;

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

#article_src_div {
    display: flex; 
    align-content: center;
    align-items: center; 
    flex-wrap: wrap;
    justify-content: space-around;
}

#time_log_wrapper input[type='text'] {
    width: 300px;
    margin: auto; 

    border-style: none;
    padding-left: 5px;

    /*font-size: 14px;    */
}

#time_log_wrapper {
    background-color: white;
    border-radius: 10px;
    color: black;
    font-size: 14px;
    text-align: left;
    padding: 5px;
}

#time_log {
    height: 400px;
    overflow-y: scroll;
}