.community-poll-preview { margin: 0; padding: 14px; background: #191713; color: #e6d6b7; font: 15px/1.5 system-ui,sans-serif; }
.community-poll-dialog { color: #e6d6b7; background: linear-gradient(135deg,#302a21,#1a1713); border: 1px solid #ae8650; border-radius: 9px; padding: 0; width: min(680px,calc(100vw - 32px)); max-height: calc(100vh - 36px); box-shadow: 0 12px 50px #0009; font: 15px/1.5 system-ui,sans-serif; }
.community-poll-dialog::backdrop { background: #080705aa; }
.community-poll-dialog { box-sizing: border-box; max-width: none; zoom: var(--ui-user-scale,1); width: min(680px,calc((100vw - 32px) / var(--ui-user-scale,1))); max-height: calc((100vh - 36px) / var(--ui-user-scale,1)); }
.community-poll-shell { padding: 18px 22px; }
.community-poll-shell > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.community-poll-shell > header h2 { margin: 0; font-size: 19px; }
.community-poll-shell > header h2 { min-width: 0; overflow-wrap: anywhere; }
.community-poll-shell > header button { flex-shrink: 0; }
.community-poll-view h2,.community-poll-view h4,.poll-question legend,.poll-result span { overflow-wrap: anywhere; }
.community-poll-dialog button,.community-poll-preview button { font: inherit; color: #efdfbb; background: linear-gradient(#5d4729,#342919); border: 1px solid #a27b43; border-radius: 5px; padding: 8px 13px; cursor: pointer; }
.community-poll-dialog button:disabled,.community-poll-preview button:disabled { opacity: .45; cursor: default; }
.community-poll-dialog button:focus-visible,.community-poll-preview button:focus-visible,.poll-choice:focus-within { outline: 2px solid #e8ba69; outline-offset: 3px; }
.community-poll-view h2 { margin: 5px 0 8px; font-size: 24px; line-height: 1.25; }
.community-poll-view h3,.community-poll-view h4 { color: #f2dcae; margin: 12px 0 6px; }
.community-poll-view p { margin: 7px 0; }
.poll-description,.poll-choice span,.poll-review p { white-space: pre-wrap; overflow-wrap: anywhere; }
.poll-kicker { text-transform: uppercase; letter-spacing: .07em; font-size: 11px; color: #c6a575; }
.poll-muted,.community-poll-view small { font-size: 12px; color: #c6bba6; }
.poll-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #d3b57e; font-size: 13px; }
.poll-error { color: #ffc29c; }
.poll-error:empty { display: none; }
.poll-progress { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 13px; }
.poll-progress progress { flex: 1; min-width: 40px; height: 9px; accent-color: #c5974d; }
.poll-question { border: 0; padding: 0; min-width: 0; margin: 15px 0; }
.poll-question legend { font-size: 19px; color: #f2dcae; font-weight: 600; }
.poll-choice { display: flex; align-items: flex-start; gap: 12px; margin: 9px 0; padding: 11px 13px; border: 1px solid #726047; border-radius: 6px; background: #110e0a66; cursor: pointer; }
.poll-choice.is-selected { border-color: #d6aa61; background: #86653633; }
.poll-choice input { margin: 5px 0 0; accent-color: #d4a85a; flex: 0 0 auto; }
.poll-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.poll-review article,.community-poll-results article { border-top: 1px solid #8e744344; padding: 8px 0; }
.poll-success { color: #c0dda3; }
.poll-list-back { margin-top: 14px; }
.poll-result { margin: 12px 0; }
.poll-result > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.poll-result strong { white-space: nowrap; }
.poll-result-track { height: 8px; border-radius: 3px; background: #100e0b; margin-top: 5px; overflow: hidden; }
.poll-result-track span { display: block; height: 100%; background: linear-gradient(90deg,#876338,#d5ae6b); }
.community-poll-list { display: grid; gap: 10px; }
.community-poll-list button { text-align: left; width: 100%; }
.community-poll-list strong,.community-poll-list small { display: block; }
#communityPollButton[hidden] { display: none!important; }
#communityPollButton { white-space: nowrap; font-size: 12px; padding: 5px 8px; }
#communityPollButton .poll-unanswered { color: #e5b75f; }
@media(max-width:500px) { .community-poll-shell { padding: 14px; } .community-poll-shell > header { justify-content: flex-end; margin-bottom: 4px; } .community-poll-shell > header h2 { display: none; } .community-poll-view h2 { font-size: 20px; } .poll-result > div:first-child { flex-wrap: wrap; } }
