body {
    background-color: #f0f0f0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    margin: 0;
    padding: 20px;
    height: 100vh;
    overflow: hidden;
}
.game-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.game-stats {
    display: flex;
    gap: 20px;
}
.stat-item {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: #333;
}
.target-display {
    font-size: 36px;
    font-weight: bold;
    color: #1e3c72;
    margin: 30px 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-area {
    margin: 30px 0;
}
.input-field {
    width: 300px;
    padding: 15px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #1e3c72;
    border-radius: 8px;
}
.input-field:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.2);
}
.game-instructions {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}
.game-instructions h3 {
    margin-top: 0;
    color: #1e3c72;
}
.game-instructions ul {
    padding-left: 20px;
}
.game-instructions li {
    margin-bottom: 8px;
}
.controls {
    margin: 20px 0;
}
.btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background: #1e3c72;
    color: white;
}
.btn:hover {
    background: #2a5298;
}
.hidden-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    display: none;
}
.work-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.work-screen {
    background: #f0f0f0;
    width: 90%;
    height: 80%;
    border: 1px solid #ccc;
    padding: 20px;
    font-family: 'Courier New', monospace;
    overflow: auto;
}
.work-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.work-content {
    line-height: 1.6;
}
.feedback {
    height: 30px;
    font-size: 18px;
    color: green;
    font-weight: bold;
    margin: 10px 0;
}
.rank-display {
    font-size: 18px;
    color: #666;
    margin: 10px 0;
}