.sidebox-poll__content {
    min-height: 3rem;
}

.sidebox-poll__state,
.sidebox-poll__login,
.sidebox-poll__feedback {
    margin: 0;
    padding: 0.75rem;
    text-align: center;
}

.sidebox-poll__error {
    color: #c77;
}

.poll_question {
    margin: 0 0 0.75rem;
    color: #baddf4;
    font-weight: 700;
    text-align: center;
}

.sidebox-poll__answers {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.poll_answer {
    margin-top: 0.55rem;
}

.sidebox-poll__answers .poll_answer {
    margin-top: 0;
}

.sidebox-poll__answers label {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.45rem 0.55rem;
    border-radius: 0.2rem;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.sidebox-poll__vote,
.sidebox-poll__toggle {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
}

.poll_votes_count {
    float: right;
    margin-left: 0.5rem;
    color: #6f8292;
    font-size: 0.8rem;
}

.poll_bar {
    height: 0.45rem;
    margin-top: 0.35rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
}

.poll_bar_fill {
    height: 100%;
    border-radius: inherit;
    background: #4c88b2;
    transition: width 0.3s ease;
}

.sidebox-poll__feedback {
    color: #baddf4;
}

.sidebox-poll__navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.75rem;
}

.sidebox-poll__navigation[hidden] {
    display: none;
}

.sidebox-poll__navigation button:last-child {
    justify-self: end;
}

.sidebox-poll__navigation span {
    min-width: 3rem;
    color: #6f8292;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .poll_bar_fill {
        transition: none;
    }
}
