/* ───────────────────────────────────────────────────────────────── Interactive Poll — bkip ───────────────────────────────────────────────────────────────── */ .bkip-wrap { box-sizing: border-box; font-family: inherit; margin-left: auto; margin-right: auto; } /* Question */ .bkip-question { font-family: var(--bkip-q-font-family, inherit); font-size: var(--bkip-q-font-size-d, var(--bkip-q-size, 22px)); font-weight: var(--bkip-q-font-weight, 700); font-style: var(--bkip-q-font-style, normal); text-decoration: var(--bkip-q-text-decoration, none); text-transform: var(--bkip-q-text-transform, none); line-height: var(--bkip-q-line-height-d, 1.35); letter-spacing: var(--bkip-q-letter-spacing-d, normal); word-spacing: var(--bkip-q-word-spacing-d, normal); margin-top: 0; margin-bottom: 20px; } /* Vote buttons */ .bkip-option-btn { display: block; width: 100%; text-align: left; padding: 12px 18px; margin-bottom: 10px; background: var(--bkip-btn-bg, #6c3fb5); color: var(--bkip-btn-color, #fff); border: none; border-radius: var(--bkip-radius, 10px); font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.15s; } .bkip-option-btn:hover { opacity: 0.88; transform: translateX(3px); } /* Results section */ .bkip-results { display: none; } .bkip-results.bkip-visible { display: block; } .bkip-result { margin-bottom: 16px; } .bkip-result-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 500; margin-bottom: 5px; } .bkip-result-pct { font-weight: 700; font-size: 13px; color: var(--bkip-bar, #6c3fb5); } .bkip-bar { width: 100%; height: 10px; background: var(--bkip-bar-bg, #ede9fe); border-radius: 999px; overflow: hidden; } .bkip-bar-fill { height: 100%; width: 0; background: var(--bkip-bar, #6c3fb5); border-radius: 999px; transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1); } /* Votes hidden after vote cast */ .bkip-votes.bkip-hidden { display: none; } /* Total + revote */ .bkip-total { font-size: 13px; color: #888; margin-top: 10px; margin-bottom: 6px; } .bkip-revote { background: none; border: none; color: var(--bkip-bar, #6c3fb5); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; } .bkip-revote:hover { opacity: 0.75; } /* Data script — never show */ .bkip-data { display: none !important; } /* Editor wrapper */ .bkip-editor-wrap { width: 100%; display: flex; justify-content: flex-start; } /* Responsive typography */ @media (max-width: 1024px) { .bkip-question { font-size: var(--bkip-q-font-size-t, var(--bkip-q-font-size-d, var(--bkip-q-size, 22px))); line-height: var(--bkip-q-line-height-t, var(--bkip-q-line-height-d, 1.35)); letter-spacing: var(--bkip-q-letter-spacing-t, var(--bkip-q-letter-spacing-d, normal)); word-spacing: var(--bkip-q-word-spacing-t, var(--bkip-q-word-spacing-d, normal)); } } @media (max-width: 767px) { .bkip-question { font-size: var(--bkip-q-font-size-m, var(--bkip-q-font-size-d, var(--bkip-q-size, 22px))); line-height: var(--bkip-q-line-height-m, var(--bkip-q-line-height-d, 1.35)); letter-spacing: var(--bkip-q-letter-spacing-m, var(--bkip-q-letter-spacing-d, normal)); word-spacing: var(--bkip-q-word-spacing-m, var(--bkip-q-word-spacing-d, normal)); } } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { .bkip-bar-fill { transition: none; } .bkip-option-btn { transition: none; } }