.reveal {
  .Poll {
    max-width: 640px;
    margin: 2rem auto;
    background: hsl(0 0% 100%);
    border: 1px solid hsl(214.3 31.8% 91.4%);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    position: relative;
  }
  
  .Poll-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
  }
  
  .Poll-question {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    color: hsl(222.2 84% 4.9%);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.025em;
  }
  
  .Poll-resetBtn {
    background: hsl(0 0% 100%);
    border: 1px solid hsl(214.3 31.8% 91.4%);
    color: hsl(0 72.2% 50.6%);
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  }
  
  .Poll-resetBtn:hover {
    background: hsl(0 72.2% 50.6%);
    color: hsl(0 0% 100%);
    border-color: hsl(0 72.2% 50.6%);
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 0.1);
  }
  
  .Poll-resetBtn:active {
    transform: scale(0.98);
  }
  
  .Poll-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .Poll-option {
    position: relative;
    border: 1px solid hsl(214.3 31.8% 91.4%);
    border-radius: 0.5rem;
    background: hsl(0 0% 100%);
    transition: all 200ms ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  }
  
  .Poll-option--interactive:hover {
    border-color: hsl(221.2 83.2% 53.3%);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transform: translateY(-1px);
  }
  
  .Poll-option--selected {
    border-color: hsl(221.2 83.2% 53.3%);
    background: hsl(221.2 83.2% 53.3% / 0.04);
    box-shadow: 0 0 0 1px hsl(221.2 83.2% 53.3% / 0.2);
  }
  
  .Poll-option--disabled {
    cursor: default;
    opacity: 0.7;
    background: hsl(210 40% 98%);
  }
  
  .Poll-optionContent {
    padding: 1.25rem 1.5rem;
    position: relative;
    z-index: 2;
  }
  
  .Poll-optionText {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 1.5rem;
  }
  
  .Poll-optionLabel {
    font-size: 1rem;
    font-weight: 500;
    color: hsl(222.2 84% 4.9%);
    line-height: 1.5;
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .Poll-optionStats {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(215.4 16.3% 46.9%);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
  }
  
  .Poll-progressContainer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: hsl(210 40% 98%);
    overflow: hidden;
  }
  
  .Poll-progressBar {
    height: 100%;
    background: linear-gradient(90deg, hsl(221.2 83.2% 53.3%), hsl(221.2 83.2% 53.3% / 0.8));
    transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }
  
  .Poll-progressBar--selected {
    background: linear-gradient(90deg, hsl(142.1 76.2% 36.3%), hsl(142.1 70.6% 45.3%));
  }
  
  .Poll-selectedIndicator {
    margin-left: 0.5rem;
    color: hsl(142.1 76.2% 36.3%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    background: hsl(142.1 76.2% 36.3% / 0.1);
    border-radius: 50%;
  }
  
  .Poll-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(214.3 31.8% 91.4%);
  }
  
  .Poll-totalVotes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(215.4 16.3% 46.9%);
    background: hsl(210 40% 98%);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid hsl(214.3 31.8% 91.4%);
  }
}

/* Dark theme adjustments */
html.theme-black .reveal {
  .Poll {
    background: hsl(222.2 84% 4.9%);
    border-color: hsl(217.2 32.6% 17.5%);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
  }
  .Poll-question {
    color: hsl(210 40% 98%);
  }
  
  .Poll-resetBtn {
    background: hsl(222.2 84% 4.9%);
    border-color: hsl(217.2 32.6% 17.5%);
    color: hsl(0 72.2% 50.6%);
  }
  
  .Poll-resetBtn:hover {
    background: hsl(0 72.2% 50.6%);
    color: hsl(210 40% 98%);
    border-color: hsl(0 72.2% 50.6%);
  }
  
  .Poll-option {
    background: hsl(222.2 84% 4.9%);
    border-color: hsl(217.2 32.6% 17.5%);
  }
  
  .Poll-option--interactive:hover {
    border-color: hsl(221.2 83.2% 53.3%);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
  }
  
  .Poll-option--selected {
    border-color: hsl(221.2 83.2% 53.3%);
    background: hsl(221.2 83.2% 53.3% / 0.1);
    box-shadow: 0 0 0 1px hsl(221.2 83.2% 53.3% / 0.3);
  }
  
  .Poll-option--disabled {
    background: hsl(217.2 32.6% 17.5%);
  }
  
  .Poll-optionLabel {
    color: hsl(210 40% 98%);
  }
  
  .Poll-optionStats {
    color: hsl(215.4 16.3% 56.9%);
  }
  
  .Poll-progressContainer {
    background: hsl(217.2 32.6% 17.5%);
  }
  
  .Poll-summary {
    border-color: hsl(217.2 32.6% 17.5%);
  }
  
  .Poll-totalVotes {
    background: hsl(217.2 32.6% 17.5%);
    border-color: hsl(217.2 32.6% 17.5%);
    color: hsl(215.4 16.3% 56.9%);
  }
}


/* Responsive design */
@media (max-width: 640px) {
  .reveal {
    .Poll {
      margin: 1rem auto;
      padding: 1.5rem;
    }
    
    .Poll-question {
      font-size: 1.125rem;
    }
    
    .Poll-optionContent {
      padding: 0.875rem 1rem;
    }
    
    .Poll-optionStats {
      align-self: flex-end;
    }
  }
}
