body {
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f8ff;
    padding: 20px 10px;
    box-sizing: border-box;
}

h1 {
    color: #0056b3;
    margin-bottom: 20px;
}

#game-area {
    max-width: 90vw;
    width: 100%;
    max-width: 800px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 10px;
}

.display-area {
    width: 100%;
    min-height: 150px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 10px;
    overflow: hidden;
}

.options-area {
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    box-sizing: border-box;
}

.car-item, .option-item {
    font-size: clamp(35px, 8vw, 55px);
    user-select: none;
    flex-shrink: 0;
    line-height: 1;
}

.option-item {
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background-color 0.2s;
}

.option-item:hover {
    background-color: #d4eaff;
}

.message-area {
    font-size: 24px;
    font-weight: bold;
    height: 40px;
    color: #0056b3;
}

#start-button, .back-button {
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
    border: 2px solid #0056b3;
    cursor: pointer;
    background-color: #fff;
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

#start-button:hover, .back-button:hover {
    background-color: #0056b3;
    color: #fff;
}
