body {
    font-family: sans-serif;
    margin: 0;
    background: #111;
    color: #eee;
}

header {
    background: #222;
    padding: 0.75rem 1rem;
}

header a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.list {
    list-style: none;
    padding: 0;
}

.list li {
    background: #1c1c1c;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.list a {
    color: #6cf;
    font-size: 1.1rem;
}

#teams {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team {
    flex: 1;
    background: #1c1c1c;
    padding: 1rem;
    border-radius: 4px;
}

.team input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}

.memberSelect {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.memberSelect li {
    cursor: pointer;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    background: #335;
}

.memberSelect li.active {
    background: #6cf;
    color: #111;
    font-weight: bold;
}

.score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.score input {
    font-size: 1.5rem;
    width: 4rem;
    text-align: center;
    background: #111;
    color: #eee;
    border: 1px solid #335;
    border-radius: 4px;
}

#roundControls {
    background: #1c1c1c;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#strikeCount {
    font-size: 1.25rem;
    font-weight: bold;
}

.question {
    background: #1c1c1c;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    border: 2px solid transparent;
}

.question.active {
    border-color: #6cf;
}

.answers {
    list-style: none;
    padding: 0;
}

.answers li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
}

.answer-text {
    flex: 1;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    background: #335;
    color: #fff;
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background: #447;
}
