.poll-home-block {
    margin: 0 0 8px;
    border: 1px solid #2a2a2a;
    background: #141414;
}

.poll-home-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 7px 8px;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.poll-home-toggle-main {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
}

.poll-home-chevron {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #888;
    transition: transform 0.15s ease;
}

.poll-home-block.is-collapsed .poll-home-chevron {
    transform: rotate(-90deg);
}

.poll-home-title {
    margin: 0;
    color: #fcd330;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poll-home-badge {
    flex-shrink: 0;
    color: #888;
    font-size: 11px;
    white-space: nowrap;
}

.poll-home-body-wrap {
    padding: 0 8px 8px;
}

.poll-home-block.is-collapsed .poll-home-body-wrap {
    display: none;
}

.poll-home-body {
    margin: 0 0 6px;
    color: #888;
    font-size: 11px;
    line-height: 1.3;
}

.poll-home-error {
    margin: 4px 0;
    color: #ff8a8a;
    font-size: 11px;
}

.poll-home-form .general-btn {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 13px;
    box-sizing: border-box;
}

.poll-options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.poll-options li {
    margin: 0 0 3px;
}

.poll-option-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 7px;
    background: #181818;
    border: 1px solid #2e2e2e;
    color: #ddd;
    font-size: 12px;
    line-height: 1.25;
    cursor: pointer;
}

.poll-option-label:hover {
    border-color: #555;
}

.poll-option-label input {
    flex-shrink: 0;
    margin: 0;
}

.poll-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.poll-result-item {
    margin: 0 0 5px;
}

.poll-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 12px;
    line-height: 1.2;
}

.poll-result-label {
    color: #ccc;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poll-result-label em {
    color: #888;
    font-style: normal;
    font-size: 11px;
}

.poll-result-item.is-mine .poll-result-label {
    color: #fcd330;
}

.poll-result-meta {
    color: #888;
    font-size: 11px;
    white-space: nowrap;
}

.poll-result-bar-wrap {
    height: 4px;
    background: #222;
    overflow: hidden;
}

.poll-result-bar {
    height: 100%;
    background: #fcd330;
    min-width: 0;
}
