/* poll_detail.css — keep pulse detail inside site shell width */

.poll-detail-page {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.poll-detail-page .poll-card {
  min-width: 0;
  max-width: 100%;
}

/* Clip vote-bar visuals; prevent beam/surge spilling past column */
.poll-detail-page .energy-beam-container {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

.poll-detail-page .energy-beam-container form,
.poll-detail-page .energy-beam-container .poll-option-btn {
  min-width: 0;
}

.poll-statistics-sidebar {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.poll-statistics-sidebar canvas {
  max-width: 100% !important;
}

.poll-world-map {
  max-width: 100%;
}

/* Compact sidebar stats — fixed heights reserve space before Chart.js paints (CLS guard) */
.poll-statistics-sidebar .poll-stat-chart {
  position: relative;
  width: 100%;
  contain: layout style paint;
}

.poll-statistics-sidebar .poll-stat-chart--pie {
  height: 7.5rem;
  min-height: 7.5rem;
}

.poll-statistics-sidebar .poll-stat-chart--line {
  height: 5.5rem;
  min-height: 5.5rem;
}

.poll-statistics-sidebar .poll-stat-chart--map {
  height: 6.5rem;
  min-height: 6.5rem;
}

.poll-statistics-sidebar .poll-stat-chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
}

.poll-statistics-sidebar .poll-stat-card {
  min-width: 0;
}

/* Mobile: full-width stats after voting */
@media (max-width: 1023px) {
  .poll-detail-sidebar-mobile {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-bottom: 0.5rem;
  }

  .poll-detail-sidebar-mobile > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .poll-detail-sidebar-mobile .poll-statistics-sidebar {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .poll-detail-sidebar-mobile .poll-statistics-sidebar .flex.flex-wrap {
    gap: 0.375rem;
  }

  .poll-detail-sidebar-mobile .stats-filter-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .poll-detail-sidebar-mobile .poll-stat-chart {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .poll-detail-sidebar-mobile .poll-statistics-sidebar .poll-stat-chart--pie {
    height: 11.5rem;
    min-height: 11.5rem;
  }

  .poll-detail-sidebar-mobile .poll-statistics-sidebar .poll-stat-chart--line {
    height: 8rem;
    min-height: 8rem;
  }

  .poll-detail-sidebar-mobile .poll-statistics-sidebar .poll-stat-chart--map {
    height: 10rem;
    min-height: 10rem;
  }

  .poll-detail-sidebar-mobile .poll-statistics-sidebar canvas {
    max-width: 100% !important;
    display: block;
  }
}

/* Debate frame — headline → context → vote */
.poll-debate-frame {
  min-width: 0;
}

.poll-debate-context {
  max-width: 52rem;
}

/* Detail page — decision panel below featured image */
.poll-detail-decision {
  min-width: 0;
  width: 100%;
}

.poll-card--featured-image .poll-detail-decision {
  width: auto;
  margin-left: -1rem;
  margin-right: -1rem;
}

@media (min-width: 640px) {
  .poll-card--featured-image .poll-detail-decision {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
}

.poll-card--featured-image .poll-detail-decision__label {
  margin-left: 1rem;
  margin-right: 1rem;
}

@media (min-width: 640px) {
  .poll-card--featured-image .poll-detail-decision__label {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }
}

.poll-detail-decision__label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(107 114 128);
}

.poll-detail-decision__label::before,
.poll-detail-decision__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
}

.dark .poll-detail-decision__label {
  color: rgb(156 163 175);
}

.dark .poll-detail-decision__label::before,
.dark .poll-detail-decision__label::after {
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.22), transparent);
}

.poll-detail-decision .poll-stance-simple {
  margin-bottom: 0;
  width: 100%;
}

.poll-detail-decision .poll-stance-simple__form {
  width: 100%;
}

.poll-detail-decision .poll-stance-simple__arena {
  --stance-me-pct: 50;
  --stance-not-me-pct: 50;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  border-radius: 1.125rem;
  padding: 0.5rem;
  background: rgb(255 255 255);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.poll-card--featured-image .poll-detail-decision .poll-stance-simple__arena {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.dark .poll-detail-decision .poll-stance-simple__arena {
  background: rgb(10 12 20);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.poll-detail-decision .poll-stance-simple__meter {
  display: flex;
  height: 5px;
  margin-bottom: 0.7rem;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.16);
}

.poll-detail-decision .poll-stance-simple__meter-me {
  width: calc(var(--stance-me-pct) * 1%);
  min-width: 0;
  background: linear-gradient(90deg, rgb(16 185 129), rgb(52 211 153));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.poll-detail-decision .poll-stance-simple__meter-not-me {
  flex: 1;
  min-width: 0;
  background: linear-gradient(90deg, rgb(251 113 133), rgb(244 63 94));
}

.poll-detail-decision .poll-stance-simple__sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
  align-items: stretch;
  width: 100%;
}

.poll-detail-decision .poll-stance-simple__side-slot {
  min-width: 0;
  display: flex;
  align-self: stretch;
}

.poll-detail-decision .poll-stance-simple__side-slot--left {
  justify-content: flex-start;
}

.poll-detail-decision .poll-stance-simple__side-slot--right {
  justify-content: flex-end;
}

.poll-detail-decision .poll-stance-simple__wing {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgb(248 250 252);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

.dark .poll-detail-decision .poll-stance-simple__wing {
  background: rgb(17 24 39);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.poll-detail-decision .poll-stance-simple__side-slot--left .poll-stance-simple__wing {
  border-left: 3px solid rgb(16 185 129);
}

.poll-detail-decision .poll-stance-simple__side-slot--right .poll-stance-simple__wing {
  border-right: 3px solid rgb(244 63 94);
}

.poll-detail-decision .poll-stance-simple__side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: 0.65rem;
  width: 100%;
  min-height: 0;
  padding: 0.95rem 1rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.poll-detail-decision .poll-stance-simple__selected-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.48rem;
  border-radius: 9999px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.poll-detail-decision .poll-stance-simple__side--right .poll-stance-simple__selected-badge {
  right: auto;
  left: 0.75rem;
}

.poll-detail-decision .poll-stance-simple__side--left .poll-stance-simple__selected-badge {
  color: rgb(4 120 87);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.poll-detail-decision .poll-stance-simple__side--right .poll-stance-simple__selected-badge {
  color: rgb(190 18 60);
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.24);
}

.dark .poll-detail-decision .poll-stance-simple__side--left .poll-stance-simple__selected-badge {
  color: rgb(110 231 183);
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.3);
}

.dark .poll-detail-decision .poll-stance-simple__side--right .poll-stance-simple__selected-badge {
  color: rgb(251 113 133);
  background: rgba(244, 63, 94, 0.16);
  border-color: rgba(244, 63, 94, 0.3);
}

.poll-detail-decision .poll-stance-simple__side--right {
  text-align: right;
  align-items: flex-end;
}

.poll-detail-decision .poll-stance-simple__side--left:hover,
.poll-detail-decision .poll-stance-simple__side--right:hover {
  background: rgba(255, 255, 255, 0.45);
}

.dark .poll-detail-decision .poll-stance-simple__side--left:hover,
.dark .poll-detail-decision .poll-stance-simple__side--right:hover {
  background: rgba(255, 255, 255, 0.03);
}

.poll-detail-decision .poll-stance-simple__head {
  display: flex;
  margin-bottom: 0;
}

.poll-detail-decision .poll-stance-simple__side--right .poll-stance-simple__head {
  justify-content: flex-end;
  width: 100%;
}

.poll-detail-decision .poll-stance-simple__pct {
  display: inline-flex;
  align-items: baseline;
  gap: 0.02rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 1;
}

.poll-detail-decision .poll-stance-simple__side--left .poll-stance-simple__pct {
  color: rgb(5 150 105);
}

.poll-detail-decision .poll-stance-simple__side--right .poll-stance-simple__pct {
  color: rgb(225 29 72);
}

.dark .poll-detail-decision .poll-stance-simple__side--left .poll-stance-simple__pct {
  color: rgb(110 231 183);
}

.dark .poll-detail-decision .poll-stance-simple__side--right .poll-stance-simple__pct {
  color: rgb(251 113 133);
}

.poll-detail-decision .poll-stance-simple__pct-suffix {
  font-size: 0.62em;
  font-weight: 700;
  opacity: 0.7;
}

.poll-detail-decision .poll-stance-simple__text {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgb(51 65 85);
}

.dark .poll-detail-decision .poll-stance-simple__text {
  color: rgb(226 232 240);
}

.poll-detail-decision .poll-stance-simple__side-foot {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem 0.55rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.55);
}

.poll-detail-decision .poll-stance-simple__side-foot--right {
  justify-content: flex-end;
}

.dark .poll-detail-decision .poll-stance-simple__side-foot {
  border-top-color: rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.poll-detail-decision .poll-stance-simple__side-slot--left:hover .poll-stance-simple__wing {
  transform: translateX(-3px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}

.poll-detail-decision .poll-stance-simple__side-slot--right:hover .poll-stance-simple__wing {
  transform: translateX(3px);
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.28);
}

.poll-detail-decision .poll-stance-simple--leading-left .poll-stance-simple__side-slot--left .poll-stance-simple__wing {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.14);
}

.poll-detail-decision .poll-stance-simple--leading-right .poll-stance-simple__side-slot--right .poll-stance-simple__wing {
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.14);
}

.poll-detail-decision .poll-stance-simple.active-me .poll-stance-simple__side-slot--left .poll-stance-simple__wing,
.poll-detail-decision .poll-stance-simple.is-voted-me .poll-stance-simple__side-slot--left .poll-stance-simple__wing {
  border-color: rgba(16, 185, 129, 0.52);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.34),
    0 14px 32px rgba(16, 185, 129, 0.2);
}

.poll-detail-decision .poll-stance-simple.active-not-me .poll-stance-simple__side-slot--right .poll-stance-simple__wing,
.poll-detail-decision .poll-stance-simple.is-voted-not-me .poll-stance-simple__side-slot--right .poll-stance-simple__wing {
  border-color: rgba(244, 63, 94, 0.52);
  box-shadow:
    0 0 0 1px rgba(244, 63, 94, 0.34),
    0 14px 32px rgba(244, 63, 94, 0.2);
}

.poll-detail-decision .poll-stance-simple.active-me .poll-stance-simple__side-slot--right .poll-stance-simple__wing,
.poll-detail-decision .poll-stance-simple.is-voted-me .poll-stance-simple__side-slot--right .poll-stance-simple__wing,
.poll-detail-decision .poll-stance-simple.active-not-me .poll-stance-simple__side-slot--left .poll-stance-simple__wing,
.poll-detail-decision .poll-stance-simple.is-voted-not-me .poll-stance-simple__side-slot--left .poll-stance-simple__wing {
  opacity: 0.7;
}

.poll-detail-decision .poll-stance-simple__side.active .poll-stance-simple__selected-badge {
  opacity: 1;
  transform: translateY(0);
}

.poll-detail-decision .poll-stance-simple__side-foot .poll-voter-stack {
  padding: 0;
}

.dark .poll-detail-decision .poll-stance-simple__side-foot .poll-voter-stack__item,
.dark .poll-detail-decision .poll-stance-simple__side-foot .poll-voter-stack__more {
  border-color: rgb(17 24 39);
}

.poll-detail-decision .poll-stance-simple__side-foot .poll-voter-stack__item,
.poll-detail-decision .poll-stance-simple__side-foot .poll-voter-stack__more {
  border-color: rgb(248 250 252);
}

/* Simplified stance picker — direct perspective text, no labels */
.poll-stance-simple {
  min-width: 0;
  margin-bottom: 0.5rem;
}

.poll-stance-simple__sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem 0.65rem;
  min-width: 0;
  align-items: stretch;
}

.poll-stance-simple__side-slot {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.poll-stance-simple__side-slot--right {
  align-items: flex-end;
}

.poll-stance-simple__side-slot .poll-stance-simple__side {
  width: 100%;
}

.poll-stance-simple__side-meta--right {
  display: flex;
  justify-content: flex-end;
}

.poll-stance-simple__side-meta {
  min-height: 1.75rem;
}

/* Overlapping voter avatars */
.poll-voter-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.1rem 0.15rem 0;
  pointer-events: auto;
}

.poll-voter-stack--right {
  flex-direction: row-reverse;
}

.poll-voter-stack__item,
.poll-voter-stack__more {
  position: relative;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 2px solid rgb(255 255 255);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dark .poll-voter-stack__item,
.dark .poll-voter-stack__more {
  border-color: rgb(17 24 39);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.poll-voter-stack__item {
  display: block;
  overflow: hidden;
  background: rgb(243 244 246);
  text-decoration: none;
}

.poll-voter-stack__item:not(:first-child) {
  margin-left: -0.42rem;
}

.poll-voter-stack--right .poll-voter-stack__item:not(:first-child) {
  margin-left: 0;
  margin-right: -0.42rem;
}

.poll-voter-stack__item:hover {
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
  z-index: 20 !important;
}

.dark .poll-voter-stack__item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

.poll-voter-stack--sm .poll-voter-stack__item,
.poll-voter-stack--sm .poll-voter-stack__more {
  width: 1.625rem;
  height: 1.625rem;
}

.poll-voter-stack--md .poll-voter-stack__item,
.poll-voter-stack--md .poll-voter-stack__more {
  width: 2.125rem;
  height: 2.125rem;
}

.poll-voter-stack--md .poll-voter-stack__item:not(:first-child) {
  margin-left: -0.55rem;
}

.poll-voter-stack--md.poll-voter-stack--right .poll-voter-stack__item:not(:first-child) {
  margin-right: -0.55rem;
}

.poll-voter-stack__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poll-voter-stack__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1;
}

.poll-voter-stack--md .poll-voter-stack__initial {
  font-size: 0.6875rem;
}

.poll-voter-stack--me .poll-voter-stack__initial {
  color: rgb(5 150 105);
  background: rgb(236 253 245);
}

.dark .poll-voter-stack--me .poll-voter-stack__initial {
  color: rgb(110 231 183);
  background: rgba(16, 185, 129, 0.15);
}

.poll-voter-stack--not_me .poll-voter-stack__initial {
  color: rgb(225 29 72);
  background: rgb(255 241 242);
}

.dark .poll-voter-stack--not_me .poll-voter-stack__initial {
  color: rgb(251 113 133);
  background: rgba(244, 63, 94, 0.15);
}

.poll-voter-stack__more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -0.42rem;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgb(75 85 99);
  background: rgb(249 250 251);
}

.poll-voter-stack--md .poll-voter-stack__more {
  margin-left: -0.55rem;
  font-size: 0.625rem;
}

.poll-voter-stack--right .poll-voter-stack__more {
  margin-left: 0;
  margin-right: -0.42rem;
}

.poll-voter-stack--md.poll-voter-stack--right .poll-voter-stack__more {
  margin-right: -0.55rem;
}

.dark .poll-voter-stack__more {
  color: rgb(209 213 219);
  background: rgb(31 41 55);
}

.poll-voter-stack--me .poll-voter-stack__item:hover {
  border-color: rgba(16, 185, 129, 0.65);
}

.poll-voter-stack--not_me .poll-voter-stack__item:hover {
  border-color: rgba(244, 63, 94, 0.65);
}

.poll-voter-stack-wrap {
  min-height: 2.125rem;
}

@media (max-width: 639px) {
  .poll-stance-simple__sides {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .poll-detail-decision .poll-stance-simple__arena {
    padding: 0.45rem;
  }

  .poll-detail-decision .poll-stance-simple__side-slot--left:hover .poll-stance-simple__wing,
  .poll-detail-decision .poll-stance-simple__side-slot--right:hover .poll-stance-simple__wing {
    transform: none;
  }

  .poll-detail-decision .poll-stance-simple__side-slot--left,
  .poll-detail-decision .poll-stance-simple__side-slot--right {
    padding: 0;
  }

  .poll-stance-simple__side-slot--right {
    align-items: stretch;
  }

  .poll-detail-decision .poll-stance-simple__side-foot--right {
    justify-content: flex-start;
  }

  .poll-voter-stack--right {
    flex-direction: row;
  }

  .poll-voter-stack--right .poll-voter-stack__item:not(:first-child) {
    margin-left: -0.42rem;
    margin-right: 0;
  }

  .poll-voter-stack--right .poll-voter-stack__more {
    margin-left: -0.42rem;
    margin-right: 0;
  }
}

.poll-stance-simple__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 5.5rem;
  height: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.dark .poll-stance-simple__side {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
}

.poll-stance-simple__side--right {
  text-align: right;
  align-items: flex-end;
}

.poll-stance-simple__side:hover {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.dark .poll-stance-simple__side:hover {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.poll-stance-simple__side--left.is-selected,
.poll-stance-simple.active-me .poll-stance-simple__side--left,
.poll-stance-simple.is-voted-me .poll-stance-simple__side--left {
  border-color: rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.08);
}

.poll-stance-simple__side--right.is-selected,
.poll-stance-simple.active-not-me .poll-stance-simple__side--right,
.poll-stance-simple.is-voted-not-me .poll-stance-simple__side--right {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.08);
}

.poll-stance-simple__text {
  flex: 1 1 auto;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgb(55 65 81);
}

.poll-stance-simple__pct {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(107 114 128);
}

.dark .poll-stance-simple__text {
  color: rgb(229 231 235);
}

.dark .poll-stance-simple__pct {
  color: rgb(156 163 175);
}

.poll-perspective-rationale {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Full-screen statistics modal */
.poll-stats-modal.hidden {
  display: none;
}

.poll-stats-modal:not(.hidden) {
  display: flex;
  flex-direction: column;
}

.poll-stats-modal__shell {
  min-width: 0;
}

.poll-stats-modal__body {
  min-width: 0;
}

.poll-statistics-sidebar--modal .poll-stats-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .poll-statistics-sidebar--modal .poll-stats-charts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poll-statistics-sidebar--modal [data-stat-card="time"],
  .poll-statistics-sidebar--modal [data-stat-card="country"] {
    grid-column: 1 / -1;
  }
}

.poll-statistics-sidebar--modal .poll-stat-chart--pie {
  height: 11rem;
  min-height: 11rem;
}

.poll-statistics-sidebar--modal .poll-stat-chart--line {
  height: 9rem;
  min-height: 9rem;
}

.poll-statistics-sidebar--modal .poll-stat-chart--map {
  height: 14rem;
  min-height: 14rem;
}
