/* Fan Polls – uses the theme's colours when it defines them (FanHub's --fh-*). */
.fan-poll { background: var(--fh-surface, #fff); border: 1px solid var(--fh-line, #e2e6ee); border-radius: var(--fh-radius, 10px); padding: 20px; }
.fan-poll__label { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--fh-primary, #0047ab); }
.fan-poll__q { margin: 0 0 14px; font-size: 18px; line-height: 1.3; }
.fan-poll fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.fan-poll__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--fh-line, #e2e6ee); border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .15s ease, background .15s ease; }
.fan-poll__opt:hover { border-color: var(--fh-primary, #0047ab); }
.fan-poll__opt:has(input:checked) { border-color: var(--fh-primary, #0047ab); background: color-mix(in srgb, var(--fh-primary, #0047ab) 8%, transparent); }
.fan-poll__opt input { accent-color: var(--fh-primary, #0047ab); width: 18px; height: 18px; margin: 0; }
.fan-poll__btn { margin-top: 14px; padding: 11px 20px; border: 0; border-radius: 8px; background: var(--fh-primary, #0047ab); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.fan-poll__btn:hover, .fan-poll__btn:focus { background: var(--fh-dark, #0b1f3a); color: #fff; }
.fan-poll__btn[disabled] { opacity: .6; cursor: wait; }
.fan-poll__btn--ghost { background: transparent; color: var(--fh-primary, #0047ab); border: 2px solid currentColor; padding: 9px 18px; }
.fan-poll__btn--ghost:hover, .fan-poll__btn--ghost:focus { background: var(--fh-primary, #0047ab); color: #fff; border-color: var(--fh-primary, #0047ab); }
.fan-poll__peek { display: inline-block; margin: 14px 0 0 14px; font-size: 14px; }
.fan-poll__msg { margin: 0 0 10px; font-weight: 700; color: var(--fh-text, #172033); }
.fan-poll__msg:empty { display: none; }
.fan-poll__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fan-poll__bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.fan-poll__bar { grid-column: 1 / -1; grid-row: 2; height: 10px; border-radius: 5px; background: var(--fh-bg, #f3f5f9); overflow: hidden; }
.fan-poll__bar span { display: block; height: 100%; border-radius: inherit; background: color-mix(in srgb, var(--fh-primary, #0047ab) 45%, #fff); transition: width .8s cubic-bezier(.22, 1, .36, 1); }
.fan-poll__bars li.is-top .fan-poll__bar span { background: var(--fh-primary, #0047ab); }
.fan-poll__pct { font-variant-numeric: tabular-nums; color: var(--fh-muted, #5d6779); }
.fan-poll__total { margin: 12px 0 0; font-size: 13.5px; color: var(--fh-muted, #5d6779); }
.fan-poll__meta { margin: 12px 0 0; font-size: 14px; color: var(--fh-muted, #5d6779); }
.fan-poll__meta:empty { display: none; }
.fan-poll .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .fan-poll__bar span { transition: none; } }
