body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f2f2f7;
    color: #000;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#game-container {
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    padding: 20px;
    width: 100%;
    max-width: 500px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

#instructions {
    background-color: #f2f2f7;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

#instructions h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
}

#instructions p {
    margin: 5px 0;
    font-size: 14px;
}

#game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
}

#game-area {
    width: 100%;
    height: 300px;
    border: 2px solid #007aff;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

#target {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
}

#target.yellow {
    background-color: yellow;
    border: 2px solid #ffd700;
}

#target.green {
    background-color: green;
    border: 2px solid #00ff00;
    cursor: move;
}

#controls {
    display: flex;
    justify-content: space-between;
}

button {
    background-color: #007aff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

@media (max-width: 500px) {
    #controls {
        flex-direction: column;
    }

    button {
        margin-bottom: 10px;
    }
}

/* 添加以下样式 */
.blue-text {
    color: blue;
    font-weight: bold;
}

.pink-text {
    color: pink;
    font-weight: bold;
}

.yellow-text {
    color: #FFD700;  /* 使用金黄色，因为纯黄色在白色背景上可能不太明显 */
    font-weight: bold;
}

.green-text {
    color: green;
    font-weight: bold;
}
