.design-poll {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 16px 16px 14px;
  backdrop-filter: blur(12px);
}

.design-poll__head {
  margin-bottom: 12px;
}

.design-poll__title {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.design-poll__lede {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #c8c8d0;
}

.design-poll__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.design-poll__option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 10, 0.35);
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease;
}

.design-poll__option:hover:not(:disabled) {
  border-color: rgba(233, 213, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.design-poll__option.is-selected {
  border-color: rgba(216, 180, 254, 0.55);
  background: rgba(216, 180, 254, 0.08);
}

.design-poll__option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.design-poll__option[data-voted="true"] {
  cursor: default;
}

.design-poll__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--poll-pct, 0%);
  background: linear-gradient(90deg, rgba(196, 181, 253, 0.16), rgba(255, 255, 255, 0.04));
  pointer-events: none;
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.design-poll__indicator {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.design-poll--multiple .design-poll__indicator {
  border-radius: 5px;
}

.design-poll__option.is-selected .design-poll__indicator {
  border-color: #e9d5ff;
  background: radial-gradient(circle at 50% 50%, #e9d5ff 45%, transparent 46%);
}

.design-poll__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.design-poll__label {
  font-size: 14px;
  font-weight: 500;
  color: #f4f4f5;
}

.design-poll__desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #a1a1aa;
  line-height: 1.35;
}

.design-poll__pct {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #d4d4d8;
  opacity: 0;
  transition: opacity 200ms ease;
}

.design-poll.is-voted .design-poll__pct {
  opacity: 1;
}

.design-poll__submit {
  margin-top: 12px;
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #f4f4f5;
  color: #141418;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.design-poll__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.design-poll__footer {
  margin-top: 10px;
  font-size: 12px;
  color: #a1a1aa;
}

.msg .design-poll {
  margin-top: 4px;
}