.gamearea {
    margin: 20px 0
}

#bg1, #bg2 {
    background-position: 0 100%
}

#bg1, #bg2, #symbol {
    top: 0;
    position: absolute
}

#inputBox, body {
    text-align: center
}

#inputBox, #word {
    padding: 6px;
    border: 1px solid;
    width: 50%
}

#muteBtn, #startBtn {
    cursor: pointer;
    border: none
}

#gameArea, .controlbox {
    width: 800px;
    overflow: hidden;
    max-width: 100%
}

#bg1, #bg2, #gmscore, #startBtn, #symbol {
    position: absolute
}

#gmscore, #word {
    font-weight: 700
}

#gameArea {
    height: 500px;
    margin: 20px auto 0;
    position: relative;
    background: #fff7ef;
    color: #0a0a0a;
    text-shadow: 0 -1px 0px rgb(202 133 47);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#bg1, #bg2 {
    left: 0;
    height: 100%;
    background-repeat: repeat-x
}

#bg1 {
    background-image: url(/static/plane/bg-far-000b0080aa978f57062ab972a160b3eb.png);
    z-index: 1;
    width: 3272px
}

#bg2 {
    background-image: url(/static/plane/bg-near-9c7927b360e0fcd2b0f5a53293a5b4be.png);
    z-index: 2;
    opacity: .7;
    width: 2551px
}

#symbol {
    width: 123px;
    height: 55px;
    background: 0 0;
    left: -250px;
    z-index: 3;
    transform-origin: center center;
    transition: left .5s
}

#word {
    font-size: 22px;
    margin: 10px 0 10px 10px;
    color: #0b7a2d
}

#inputBox {
    font-size: 18px;
    margin: 10px 10px 10px 0;
    border-left: none
}

#inputBox:focus {
    border-color: #0b7a2d;
    outline: 0
}

#status {
    margin-top: 10px;
    font-size: 16px;
    color: #9a6a57;
}

#muteBtn {
    margin-top: 5px;
    padding: 2px 4px;
    font-size: 16px;
    background: #faebd7;
    outline: 0
}

#startBtn {
    padding: 12px 26px;
    font-size: 18px;
    margin-bottom: 10px;
    top: 218px;
    left: calc(50% - 100px);
    z-index: 111;
    background: #000;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 18px #333;
    width: 200px;
    text-align: center
}

.controlbox {
    margin: 0 auto;
    background: #faebd7;
    display: flex
}

.typebox {
    width: 60%;
    display: flex
}

.scorebox {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#gmscore {
    top: 58%;
    z-index: 1111;
    left: calc(50% - 70px)
}
/* 飞机头顶单词样式 - 核心优化 */
#planeWord {
    position: absolute;
    font-size: 22px;
    font-weight: bold;
    white-space: nowrap;
    /* 居中显示在飞机头顶 */
    transform: translateX(-50%);
    text-shadow: 0 0 3px #000;
    pointer-events: none;
    z-index: 99999 !important;
}

/* 正确字符绿色高亮 */
.correct-char {
    color: #32cd32;
}