
.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

:before, :after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

html, body {
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-family: microsoft YaHei;
}

html {
}

#background {
    width: 100%;
    height: 200%;
    background-image: url('/static/typefun/images/page-8b727cc69990664e10af99b163faff63.jpg');
    position: absolute;
    bottom: 0%;
    left: 0;
}

body {
    overflow: hidden;
    margin: 0;
}

#gameWrapper {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    background-color: transparent;
}

#keyboard {
    position: fixed;
    bottom: 0;
    padding: 5px 2px;
    width: 100%;
    max-width: 600px;
    display: none;
}

.key-item {
    text-align: center;
    border: 1px solid #fff;
    line-height: 27px;
    background-color: transparent;
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    width: 100%;
    height: 100%;
}

.key-item:hover {
    background-color: #888;
}

.i-w, .i-w-blank, .i-w-half-blank {
    float: left;
    height: 35px;
    padding: 1px;
}

.i-w, .i-w-blank {
    width: 10%;
}

.i-w-half-blank {
    width: 5%;
}

#scoreWrapper {
    position: absolute;
    color: #fff;
    top: 10px;
    right: 10px;
    text-align: center;
}

#showInfo {
    position: absolute;
    top: 100px;
    color: #f44;
    text-align: center;
    width: 100%;
    display: none;
    font-size: 26px;
    letter-spacing: 2px;
}

.score-item {

}

.score-title {

}

#letterNum, #score {

}

#protect, .func-item {
    position: absolute;
    color: #fff;
    font-size: 30px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: block;
    height: 60px;
    width: 60px;
    text-align: center;
    line-height: 57px;
    background-color: rgba(255, 255, 255, .2);
    cursor: pointer;
}

#protect {
    bottom: 10px;
    right: 10px;
}

#funcWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.func-item {
    float: left;
    height: 40px;
    width: 40px;
    line-height: 32px;
    position: relative;
    margin: 10px 5px;
    cursor: pointer;
}

.func-item img {
    width: 70%;
    height: 70%;
}

#helpPage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    text-align: center;
    padding: 130px 0px;
    display: none;
}

#helpPage .text {
    margin: 15px 0;
}

#helpPage .text.small {
    margin: 10px 0;
    font-size: 15px;
    color: #ccc;
}

.link {
    text-decoration: underline;
}

.wc-share-logo {
    position: absolute;
    top: -100%;
    opacity: 0;
}

/* 开始页面样式 */
#startPage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

#startPage h1 {
    color: #4a90e2;
    margin-bottom: 30px;
    font-size: 40px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.7);
}

.game-description {
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.game-description h3 {
    color: #4a90e2;
    margin-top: 20px;
    margin-bottom: 15px;
}

.shortcut-keys {
    background-color: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.shortcut-key {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.key {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding: 3px 10px;
    min-width: 40px;
    text-align: center;
}

#startBtn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

#startBtn:hover {
    background-color: #3a80d2;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.7);
}

/*end footer*/
@media screen and (max-width: 1000px) {
}








