body {
    background-color: #f5f7fa;
    padding: 20px 0;
}

.game-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
}

.beautiful-line {
    border-top: 2px solid #337ab7;
    width: 100px;
    margin: 0 auto 30px;
}

#game_board {
    position: relative;
    max-width: 720px;
    height: 370px;
    border: 1px solid #b0bdcc;
    text-align: center;
    overflow: hidden;
    background-color: #ffffff;
    color: #2c3e50;
    border-radius: 8px 8px 0 0;
    padding: 18px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#game_border {
    border: 1px solid #b0bdcc;
    width: 100%;
    height: 348px;
}

/* 游戏方块样式 */
div#game_board div.game_brick {
    border: 1px solid #b0bdcc;
    width: 34px;
    height: 34px;
    background-color: #fff;
    font-size: 22px;
    font-family: "Courier New", monospace;
    display: block;
    float: left;
    line-height: 32px;
    transition: all 0.2s ease;
}

div#game_board div.game_position {
    background-color: #337ab7 !important;
    color: white;
    font-weight: bold;
}

div#game_board div.game_way {
    background-color: #5cb85c !important;
    color: white;
    font-weight: bold;
}

div#game_board div.game_goal {
    background-color: #f0ad4e !important;
    color: #2c3e50;
    font-weight: bold;
}

/* 控制台面板 */
#game_console {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#game_console .form-control {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

.game-info {
    font-size: 16px;
    font-weight: 600;
    margin-left: 15px;
}

.game-info span {
    padding: 0 5px;
}

#game_score {
    color: #5cb85c;
}

#game_lives {
    color: #d9534f;
}

#game_time {
    color: #337ab7;
}

/* 游戏结束 */
#game_caption {
    margin-top: 165px;
    font-size: 24px;
    font-weight: bold;
    color: #d9534f;
}

/* 帮助说明 */
#game_help {
    max-width: 720px;
    margin: 20px auto;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
    color: #555;
}

.clr {
    clear: both;
}