* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

#nameList {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.name-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.name-item.current-turn {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    font-weight: bold;
}

.name {
    font-size: 1rem;
    color: #333;
    text-transform: capitalize;
}

button {
    padding: 0.5rem 1rem;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #3367d6;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

#status.success {
    color: #34a853;
}

#status.error {
    color: #ea4335;
}
