* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:link, a:hover, a:visited {
    color: #757575;
}

body {
    background-color: #374046;
    width: 100vw;
    padding: 0 4px;
    overflow-x: hidden;
}

.frame {
    background-color: #cfd8dc;
    border-radius: 10px;
}

div.tableContainer {
    display: table;
    width: 60%;
    min-width: 800px;
    margin: auto;
    font-family: "Microsoft YaHei UI", sans-serif;
    border-spacing: 0 10px;
}

div.tableRow {
    display: table-row; /*设置margin无效，因为表格之间应该是间距，表格非块元素*/
}

div.tableCell {
    display: table-cell;
    box-shadow: 0 2px 10px #212121;
    border-radius: 20px;
}

div.tableCellContainer {
    display: table;
    width: 100%;
}

.imgExist {
    /*图像存在时缩进*/
    margin-right: 210px;
}

@media screen and (max-width: 800px) {
    div.tableContainer {
        width: 100%;
        min-width: inherit;
        margin: 0;
    }

    .image {
        display: none;
    }

    .imgExist {
        /*图像存在时缩进*/
        margin-right: 0;
    }

    .tableCell, .tableCellContainer, .tableRow {
        margin: 0;
    }

    .comment, .time {
        display: block;
        margin-left: 0;
    }

    .time_comment a {
        margin-left: 0;
    }
}

body.message-box-body {
    margin: 0;
    padding: 0;
}

#message-box-background {
    font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #BDBDBD;
    opacity: 0.7;
    z-index: 9998;
}

#message-box {
    font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;
    position: fixed;
    display: none;
    left: 0;
    top: calc(50% - 15vh);
    width: 100%;
    height: 30vh;
    min-height: 250px;
    background-color: #e7d535;
    z-index: 9999;
    border-width: 0.95vh 0;
    border-color: #fff;
    border-style: solid;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: 0 0 5px #fff;
}

#message-box-title {
    margin-top: 7px;
    font-size: 2.5vw;
    line-height: 2.5vw;
    text-align: center;
    color: #fff;
    font-style: italic;
    font-weight: lighter;
}

#message-box-text {
    position: absolute;
    left: 0;
    width: 100%;
    top: calc(50% - 2.5vw - 10px);
    font-size: 5vw;
    text-align: center;
    line-height: 5vw;
    color: #fff;
}

#message-box-circle {
    position: absolute;
    top: calc(50% + 7vh);
    left: calc(50% - 25px);
}

@media screen and (max-width: 900px) {
    /*宽度跟字体大小有关*/
    #message-box-title {
        font-size: 30px;
        line-height: 30px;
    }

    #message-box-text {
        font-size: 40px;
        line-height: 40px;
        top: calc(50% - 20px - 10px);
    }
}

@media screen and (max-height: 690px) {
    /*高度跟对话框定位有关*/
    #message-box {
        top: calc(50% - 125px);
    }

    #message-box-circle {
        top: calc(50% + 58px);
    }
}

.message-box-circle-bar {
    font-size: 50px;
    width: 1em;
    height: 1em;
    background-color: #fff;
    position: relative;
}

.message-box-circle-bar-left, .message-box-circle-bar-right {
    width: 1em;
    height: 1em;
}

.message-box-circle-bar-right {
    clip: rect(0, auto, auto, .5em);
}

.message-box-circle-bar-left {
    clip: rect(0, .5em, auto, 0);
}

.message-box-circle-mask {
    width: 0.8em;
    height: 0.8em;
    text-align: center;
    line-height: 0.2em;
    color: #fff;
}

.message-box-circle-bar * {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.message-box-circle-bar, .message-box-circle-bar > * {
    border-radius: 50%;
}

.message-box-circle-percent {
    font-size: 0.6em;
    height: 0.6em;
    line-height: 0.6em;
    display: block;
}

.blur {
    filter: url('/static/svg/blur.svg#blur'); /* IE10, IE11 */
    -webkit-filter: blur(10px); /* Chrome, Opera */
    -moz-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=10, MakeShadow=false); /* IE6~IE9 */
}

@keyframes grow {
    from {
        opacity: 0;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    to {
        opacity: 1;
        margin-top: 0;
        margin-bottom: 0;
    }
}

@keyframes shrink {
    from {
        font-size: 0.7rem;
    }
    to {
        font-size: 0.8rem;
    }
}

.tableRow {
    animation: grow 0.35s;
}

.summary {
    animation: shrink 0.1s;
}