/* missile-game 전용 스타일 */
.missile-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.missile-game .settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
}

.missile-game .controls {
    display: flex;
    gap: 8px;
}

.missile-game .settings button {
    margin: 5px; /* Add some space between buttons */
    padding: 0px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f0f0;
    line-height: 1.2; /* Explicit line height for consistency */
    height: 42px; /* Explicit height to ensure consistency, considering padding */
    box-sizing: border-box; /* Ensure padding is included in height */
}

.missile-game .settings button:hover {
    background-color: #e0e0e0;
}

.missile-game .game-canvas-wrapper {
    position: relative;
}

.missile-game canvas {
    display: block;
    width: 600px;
    max-width: 600px;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.6);
    background: linear-gradient(180deg,#041021 0%, #071735 60%, #08111a 100%);
}


#game-board {
    margin-top: 30px;
}

/* Fame List Styles */
#fameList {
    width: 600px; /* Match the canvas width */
    max-width: 600px;
    margin-top: 20px; /* Add some spacing */
}

.fame-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
}

.fame-item {
    display: flex;
    align-items: center; /* Vertically align items */
    justify-content: space-between; /* Distribute items with space between */
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.fame-item:last-child {
    border-bottom: none;
}

.fame-rank {
    font-weight: bold;
    color: #333;
    width: 80px; /* Fixed width for rank */
    text-align: left;
}

.fame-username {
    color: #007bff;
    flex-grow: 1; /* Takes up remaining space */
    text-align: center; /* Center align username */
    /* padding-left: 15px; Removed */
}

.fame-score {
    font-weight: bold;
    color: #28a745;
    width: 100px; /* Fixed width for score */
    text-align: right; /* Center align score */
}

.fame-date {
    font-size: 0.8em;
    color: #6c757d;
    width: 180px; /* Fixed width for date */
    text-align: right;
    margin-left: 10px;
}

.no-fame-data {
    text-align: center;
    padding: 120px;
    color: #777;
}