/* Ensure stat-number color overrides for theme */
body.theme-dark .results-stats-linear .stat-number {
  color: #fff !important;
}
body.theme-light .results-stats-linear .stat-number {
  color: #111 !important;
}
/* Elegant, professional font and alignment improvements */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-attachment: fixed;
}

h1, h2, h3, .poll-headline {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 0.7em;
}

.center-card, .poll-card, .hero-card {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-sizing: border-box;
}

.results-stats-linear, .results-header, .comment-total-count {
  text-align: left;
}

.poll-question h2 {
  font-size: 1.4rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  margin-bottom: 1em;
}

.stat-label, .stat-number {
  font-family: inherit;
}
/* Total comment count display */
.comment-total-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 12px;
  text-align: left;
}
/* Linear results stats row for results page */
.results-stats-linear {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 24px 0;
  padding: 0 8px;
  gap: 12px;
}
.results-stats-linear .stat-label {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: inherit;
  margin-right: 8px;
  letter-spacing: 0.01em;
}
/* Elegant theme-specific color for stat-label */
body.theme-dark .results-stats-linear .stat-label {
  color: #fff !important;
}
body.theme-light .results-stats-linear .stat-label {
  color: #111 !important;
}
.results-stats-linear .stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}
body.theme-dark .results-stats-linear .stat-number {
  color: #fff;
}
body.theme-light .results-stats-linear .stat-number {
  color: #111;
}
.results-stats-linear .stat-right {
  text-align: right;
}
@media (max-width: 600px) {
  .results-stats-linear {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 2px;
  }
  .results-stats-linear .stat-left, .results-stats-linear .stat-right {
    text-align: left;
    font-size: 1.1rem;
  }
}
/* Mobile-first card/canvas sizing for homepage, poll, results, comments */
@media (max-width: 600px) {
  .poll-card, .hero-card, .center-card, .results-area, .comments-section, .comments-canvas {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    margin: 0 auto 18px auto;
    border-radius: 16px;
    padding-left: 6px;
    padding-right: 6px;
  }
  canvas, .results-chart {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    border-radius: 12px;
  }
}
/* Mobile-first poll button layout */
@media (max-width: 600px) {
  .poll-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
  }
  .poll-buttons .pill,
  .poll-buttons .btn-yes,
  .poll-buttons .btn-no,
  .poll-buttons .btn-neutral {
    font-size: 1.15rem;
    padding: 18px 0;
    border-radius: 999px;
    width: 100%;
    min-width: 0;
    box-shadow: 0 2px 12px var(--glass-light);
    margin: 0;
  }
  .poll-card {
    padding: 18px 8px;
    border-radius: 18px;
    box-shadow: 0 2px 12px var(--glass-light);
  }
  .poll-headline {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
  }
}

/* Prioritize question visibility on smaller screens:
   enlarge the question, shrink the choice buttons and view-results button,
   and push remaining UI downward so the question stands out. */
/* Apply a milder scaling effect for most mobile phones (<=768px) */
@media (max-width: 768px) {
  .poll-card h1 {
    font-size: 36px; /* prominent but moderate on larger phones/tablets */
    line-height: 1.04;
    margin-bottom: 18px;
  }

  .poll-card .poll-question h2,
  .poll-card .mini-question {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
  }

  .poll-buttons .pill,
  .poll-buttons .btn-yes,
  .poll-buttons .btn-no,
  .poll-buttons .btn-neutral {
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 999px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
  }

  .view-results-btn,
  .view-results-btn-simple {
    font-size: 1rem;
    padding: 0.6em 1.4em;
  }

  .poll-card {
    display: block;
    padding-bottom: 16px;
  }

  .results-area, .comments-section {
    margin-top: 20px;
  }
}

/* Stronger effect for very small screens (<=480px) */
@media (max-width: 480px) {
  .poll-card h1 {
    font-size: 44px; /* make the question very prominent */
    line-height: 1.02;
    margin-bottom: 20px;
  }

  .poll-card .poll-question h2,
  .poll-card .mini-question {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .poll-buttons .pill,
  .poll-buttons .btn-yes,
  .poll-buttons .btn-no,
  .poll-buttons .btn-neutral {
    font-size: 0.95rem;
    padding: 10px 0;
    border-radius: 999px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  }

  .view-results-btn,
  .view-results-btn-simple {
    font-size: 0.95rem;
    padding: 0.5em 1.2em;
  }

  .poll-card {
    display: block;
    padding-bottom: 18px;
  }

  .results-area, .comments-section {
    margin-top: 22px;
  }
}

/* Simple View Results Button */
.view-results-wrap.simple {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}
.view-results-btn-simple {
  background: var(--bg-card-hover-light);
  color: var(--accent-primary);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.7em 2em;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 2px 8px rgba(29,155,240,0.08);
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.view-results-btn-simple:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}
/* Ghana Polls - Modern Twitter-like Design */
:root {
  /* Dark Theme Colors */
  --bg-dark: #0f1419;
  --bg-card-dark: #1e2732;
  --bg-card-hover-dark: #283340;
  --text-dark: #f7f9f9;
  --text-muted-dark: #8b98a5;
  --accent-primary: #1d9bf0;
  --accent-secondary: #ffd400;
  --accent-success: #00ba7c;
  --accent-danger: #f91880;
  --border-dark: #2f3336;
  --glass-dark: rgba(255,255,255,0.03);

  /* Light Theme Colors - Refined */
  --bg-light: #f7f9fc;
  --bg-card-light: #fdf6ed;
  --bg-card-hover-light: #fbeedc;
  --text-light: #1a232f;
  --text-muted-light: #a67c52;
  --border-light: #f9d18b;
  --glass-light: rgba(255,215,64,0.08);
  --accent-primary: #e09c2b;
  --accent-secondary: #ffd400;
  --accent-success: #00ba7c;
  --accent-danger: #f91880;
  
  /* Common */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.15);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.2);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.theme-dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

body.theme-light {
  background: var(--bg-light) url('assets/jubileehouseghana.jpg') center 120px/cover no-repeat fixed;
  color: var(--text-light);
  position: relative;
}

body.theme-light::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(245,247,250,0.82);
}

body.theme-light > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Top Bar */
.topbar-stripe {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-success), var(--accent-danger));
  background-size: 300% 100%;
  animation: stripeMove 3s ease-in-out infinite;
}

@keyframes stripeMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.topbar {
/* Poll Headline */
.poll-headline {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* View Results Button */
.view-results-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.view-results-btn {
  background: var(--accent-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.7em 2em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: none;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.view-results-btn:hover {
  background: var(--accent-success);
  color: #fff;
}
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(15, 20, 25, 0.85);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

body.theme-light .topbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--border-light);
}

.flag {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-dark);
}

body.theme-light .flag {
  border-color: var(--border-light);
}

.brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.brand .sub {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--text-muted-dark);
}

body.theme-light .brand .sub {
  color: var(--text-muted-light);
}

.countdown-banner {
  background: var(--accent-primary);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
  margin-right: 12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.disclaimer {
  font-size: 11px;
  color: var(--text-muted-dark);
  text-align: right;
}

body.theme-light .disclaimer {
  color: var(--text-muted-light);
}

.slogan {
  font-weight: 700;
  color: var(--accent-success);
  display: block;
  margin-top: 1px;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

body.theme-light .theme-toggle {
  color: var(--text-light);
}

.theme-toggle:hover {
  background: var(--glass-dark);
  transform: rotate(15deg);
}

body.theme-light .theme-toggle:hover {
  background: var(--glass-light);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(90deg, #e09c2b 60%, #ffd400 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px var(--glass-light);
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ffd400 60%, #e09c2b 100%);
  color: #1a232f;
  box-shadow: 0 4px 18px var(--glass-light);
  transform: translateY(-2px) scale(1.04);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
}

body.theme-light .btn-ghost {
  border-color: var(--border-light);
  color: var(--accent-primary);
  background: #fbeedc;
  box-shadow: 0 1px 6px var(--glass-light);
  border-radius: 999px;
}

.btn-ghost:hover {
  background: var(--glass-dark);
}

body.theme-light .btn-ghost:hover {
  background: #ffd400;
  color: #e09c2b;
  box-shadow: 0 2px 12px var(--glass-light);
  transform: translateY(-1px) scale(1.03);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
  min-height: 60vh;
  align-items: center;
}

.hero-card {
  max-width: 600px;
  width: 100%;
  background: var(--bg-card-dark);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-dark);
  text-align: center;
}

/* Mini poll card placed inside hero - compact attention card */
.poll-card-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  padding: 8px;
  margin-top: 16px;
  justify-content: flex-start;
  border: 1px solid rgba(255,255,255,0.03);
  position: relative; /* allow badge ring */
  color: inherit; /* inherit text color from theme */
  /* breathing/pop animation to indicate trending */
  animation: miniBreath 2.6s ease-in-out infinite;
}

.mini-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--border-dark);
}

.mini-body { display:flex; flex-direction:column; gap:6px; text-align:left; }
.mini-top { display:flex; gap:8px; align-items:center; }
.mini-badge {
  display:inline-block;
  padding:6px 8px;
  border-radius:999px;
  background: linear-gradient(90deg,#ff7a18,#ff3b3b);
  color:white; font-weight:800; font-size:12px;
  box-shadow: 0 8px 20px rgba(255,80,40,0.12);
  animation: miniGlow 2.2s ease-in-out infinite;
}
.mini-label { font-size:12px; color:var(--text-muted-dark); font-weight:700; }
.mini-question { font-weight:700; color:inherit; text-decoration:none; }

@keyframes miniGlow { 0% { box-shadow: 0 6px 16px rgba(255,80,40,0.10);} 50% { box-shadow: 0 14px 34px rgba(255,80,40,0.18);} 100% { box-shadow: 0 6px 16px rgba(255,80,40,0.10);} }

@media (max-width:560px) {
  .poll-card-mini { gap:10px; }
  .mini-thumb { width:100%; height:120px; border-radius:8px; }
  .mini-body { text-align:left; }
}

/* Make the trending mini-badge much smaller on narrow phones to avoid layout overflow */
@media (max-width:480px) {
  .mini-badge {
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 8px rgba(255,80,40,0.08);
    transform: translateY(-2px) scale(0.92);
    animation: none; /* disable glow animation on tiny screens to save CPU */
  }
  .poll-card-mini { padding:6px; }
  .mini-thumb { width:72px; height:48px; }
}

/* Extra-compact adjustments for narrow, high-density phones (e.g. Redmi Note 12 Pro) */
@media (max-width:420px) {
  .poll-card-mini {
    gap:6px;
    padding:4px 6px;
    border-radius:8px;
    animation: none !important;
    overflow: hidden;
  }
  .mini-thumb {
    width:56px;
    height:40px;
    border-radius:6px;
    flex-shrink:0;
  }
  .mini-body { gap:4px; }
  .mini-label { font-size:11px; font-weight:700; }
  .mini-question {
    font-size:12px;
    line-height:1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mini-badge {
    padding: 2px 4px;
    font-size: 9px;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: none;
    transform: none;
    animation: none;
  }
}

/* The mini poll card uses a slow breathing/pop animation to indicate trending. */
@keyframes miniBreath {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  20% { transform: translateY(-3px) rotate(-0.6deg) scale(1.03); }
  40% { transform: translateY(0) rotate(0.4deg) scale(1); }
  60% { transform: translateY(1px) rotate(-0.4deg) scale(1.02); }
  80% { transform: translateY(0) rotate(0.6deg) scale(1.01); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@media (max-width:560px) {
  .poll-card-mini { animation: miniBreathMobile 2.6s ease-in-out infinite; }
}

@keyframes miniBreathMobile {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.015); }
  100% { transform: translateY(0) scale(1); }
}

/* Light theme adjustments: make the mini card readable */
body.theme-light .poll-card-mini {
  background: var(--bg-card-light);
  border-color: var(--border-light);
  color: var(--text-light);
}
body.theme-light .mini-thumb { border-color: var(--border-light); }

/* Make card/canvas borders slightly visible in light mode for better contrast */
body.theme-light .card,
body.theme-light .panel,
body.theme-light .poll-card-mini,
body.theme-light .comment,
body.theme-light .comment-thread,
body.theme-light .comment-box,
body.theme-light .ad-slot,
body.theme-light .results-chart {
  border: 1px solid var(--border-light, rgba(0,0,0,0.08));
  background: var(--bg-card-light, #fff);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

/* Ensure canvases get a subtle border in light theme */
body.theme-light canvas,
body.theme-light .chartjs-render-monitor {
  border: 1px solid var(--border-light, rgba(0,0,0,0.08));
  border-radius: 6px;
}

/* Slightly darker thumb border to separate image from card */
body.theme-light .mini-thumb { box-shadow: none; }

/* Stronger, consistent borders and outlines for light theme */
body.theme-light .card,
body.theme-light .panel,
body.theme-light .poll-card-mini,
body.theme-light .comment,
body.theme-light .comment-thread,
body.theme-light .comment-box,
body.theme-light .ad-slot,
body.theme-light .results-chart,
body.theme-light .nav,
body.theme-light .header,
body.theme-light .footer {
  border: 1px solid rgba(0,0,0,0.14);
  background: var(--bg-card-light, #fff);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  border-radius: 8px;
}

/* Form controls and buttons should also show clear outlines */
body.theme-light button,
body.theme-light .btn,
body.theme-light input,
body.theme-light textarea,
body.theme-light select {
  border: 1.5px solid var(--border-light);
  background: linear-gradient(90deg, #fff 80%, #f8fafc 100%);
  color: var(--text-light);
  border-radius: 999px;
  box-shadow: 0 2px 12px var(--glass-light);
  font-weight: 600;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.18s;
}

/* Make canvases and Chart.js renderers stand out */
body.theme-light canvas,
body.theme-light .chartjs-render-monitor {
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 8px;
  background: #fff;
}

/* Slightly stronger focus state for keyboard users */
body.theme-light button:focus,
body.theme-light input:focus,
body.theme-light textarea:focus,
body.theme-light select:focus {
  outline: 3px solid rgba(0,0,0,0.06);
  outline-offset: 2px;
}

body.theme-light .hero-card {
  background: var(--bg-card-light);
  border-color: var(--border-light);
}

.hero-image {
  width: 100%;
  max-width: 560px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border: 1px solid var(--border-dark);
  background: var(--glass-dark);
}

body.theme-light .hero-image {
  border-color: var(--border-light);
  background: var(--glass-light);
}

.headline {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
}

.typewriter-text::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.lead {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted-dark);
  margin-bottom: 32px;
}

body.theme-light .lead {
  color: var(--text-muted-light);
}

.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ad-slot {
  width: 100%;
  max-width: 728px;
  height: 90px;
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dark);
  margin: 20px auto 0; /* add top spacing to separate from poll card */
  border: 2px dashed var(--border-dark);
  font-size: 14px;
}

body.theme-light .ad-slot {
  background: var(--bg-card-light);
  color: var(--text-muted-light);
  border-color: var(--border-light);
}

/* Center Card */
.center-card {
  max-width: 400px;
  margin: 32px auto;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--bg-card-dark);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-dark);
  text-align: center;
}

body.theme-light .center-card {
  background: var(--bg-card-light);
  border-color: var(--border-light);
}

.center-card h1 {
  font-size: 24px;
  margin-bottom: 8px;
}

.center-card .muted {
  color: var(--text-muted-dark);
  margin-bottom: 24px;
  line-height: 1.4;
}

body.theme-light .center-card .muted {
  color: var(--text-muted-light);
}

/* Forms */
.gate-form {
  text-align: left;
  margin: 0 auto;
}

.gate-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--text-dark);
}

body.theme-light .gate-form label {
  color: var(--text-light);
}

.select-wrapper {
  position: relative;
  margin-top: 6px;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

body.theme-dark .select-wrapper::after {
  filter: invert(1) brightness(0.7);
}

.gate-form select {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
  appearance: none;
  cursor: pointer;
}

body.theme-light .gate-form select {
  background: var(--bg-card-light);
  border-color: var(--border-light);
  color: var(--text-light);
}

.gate-form select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.error-message {
  background: rgba(249, 24, 128, 0.1);
  color: var(--accent-danger);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  text-align: center;
  border: 1px solid rgba(249, 24, 128, 0.2);
}

.privacy-note {
  margin-top: 20px;
  padding: 12px;
  background: var(--glass-dark);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-dark);
}

body.theme-light .privacy-note {
  background: var(--glass-light);
  border-color: var(--border-light);
}

/* Poll Layout */
.poll-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px;
}

@media (max-width: 768px) {
  .poll-wrap {
    flex-direction: column;
    gap: 16px;
  }
}

.poll-card {
  flex: 1.6;
  background: var(--bg-card-dark);
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  min-width: 0;
}

body.theme-light .poll-card {
  background: var(--bg-card-light);
  border-color: var(--border-light);
}

.poll-card h1 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text-dark);
}

body.theme-light .poll-card h1 { color: var(--text-light); }

@media (max-width: 768px) {
  .poll-card h1 { font-size: 28px; }
}

/* Privacy page spacing and readability */
.privacy-section {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: 18px 6px;
}
.privacy-section h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 1.15rem;
  font-weight: 700;
}
.privacy-section p,
.privacy-section ul {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--text-muted, #666);
}
.privacy-section ul { padding-left: 24px; }

/* Comment badges (region stamps) */
.comment-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent-primary);
}
.comment-badge.diaspora {
  background: linear-gradient(90deg, #ff7a59 0%, #ffb86b 100%);
  color: #1b1b1b;
}
.comment-username { margin-right: 6px; }

/* Increase poll question size on very small screens for visibility only */
@media (max-width: 420px) {
  .poll-card h1 {
    font-size: 36px; /* larger headline on very small devices */
    line-height: 1.02;
  }
  /* Make the main poll question and mini question a bit larger without affecting other UI */
  .poll-card .poll-question h2,
  .poll-card .mini-question,
  .poll-card h1 {
    transform-origin: left top;
    /* increase the font-size only for readability */
    font-size: 1.45rem;
  }
}

/* Poll Buttons */
.poll-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

@media (min-width: 480px) {
  .poll-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.pill {
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  flex: 1;
  min-width: 100px;
}

.pill:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn-yes { 
  background: #00ba7c;
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(0,186,124,0.10);
}

.btn-no { 
  background: #f91880;
  color: #fff;
  border: none;
  box-shadow: 0 2px 12px rgba(249,24,128,0.10);
}

.btn-neutral { 
  background: #ffd400;
  color: #a67c52;
  border: none;
  box-shadow: 0 2px 12px rgba(255,212,0,0.10);
}

/* Confirmation Box */
.confirm-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-dark);
  border: 1px solid var(--border-dark);
  text-align: center;
  animation: slideDown 0.2s ease-out;
}

body.theme-light .confirm-box {
  background: var(--glass-light);
  border-color: var(--border-light);
}

.confirm-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.confirm-icon {
  font-size: 20px;
}

.confirm-choice {
  color: var(--accent-primary);
  font-size: 16px;
}

.confirm-note {
  color: var(--text-muted-dark);
  font-size: 13px;
  margin: 8px 0;
}

.confirm-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Results */
.results-area {
  margin-top: 24px;
}

.result-row {
  margin-bottom: 16px;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted-dark);
}

body.theme-light .result-meta {
  color: var(--text-muted-light);
}

.result-meta .choice {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.result-meta .stats {
  font-weight: 700;
  color: var(--text-dark);
}

body.theme-light .result-meta .stats {
  color: var(--text-light);
}

.bar {
  background: var(--glass-dark);
  height: 24px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  position: relative;
}

body.theme-light .bar {
  background: var(--glass-light);
  border-color: var(--border-light);
}

.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: white;
  font-weight: 700;
  font-size: 11px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-fill.yes { background: var(--accent-success); }
.bar-fill.neutral { background: var(--accent-secondary); color: #000; }
.bar-fill.no { background: var(--accent-danger); }

/* =============================================== */
/* SCROLLBAR-FREE TIKTOK-STYLE COMMENTS SECTION */
/* =============================================== */
.comments-section {
  flex: 1.4;
  min-width: 420px;
  background: var(--bg-card-dark);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

/* Ensure canvas allows its child to size with flexbox and enable scrolling via mouse wheel */
.comments-canvas {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0; /* important for flex children to allow overflow */
  overflow: hidden;
}

body.theme-light .comments-section {
  background: var(--bg-card-light);
  border-color: var(--border-light);
}

.comments-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
  background: var(--glass-dark);
  flex-shrink: 0;
}

body.theme-light .comments-header {
  border-bottom-color: var(--border-light);
  background: var(--glass-light);
}

.comments-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.comment-count {
  color: var(--text-muted-dark);
  font-size: 13px;
  font-weight: 500;
}

body.theme-light .comment-count {
  color: var(--text-muted-light);
}

/* Comment Input Area - Scrollbar Free */
.comment-input-area {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
  background: var(--glass-dark);
  flex-shrink: 0;
}

body.theme-light .comment-input-area {
  border-bottom-color: var(--border-light);
  background: var(--glass-light);
}

.user-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-success));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--border-dark);
}

body.theme-light .avatar-placeholder {
  border-color: var(--border-light);
}

.input-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comments-section textarea {
  width: 100%;
  min-height: 60px;
  max-height: 120px;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 14px;
  border-radius: var(--radius-lg);
  resize: none;
  line-height: 1.4;
  outline: none;
  transition: var(--transition);
  /* Hide scrollbar for WebKit; Firefox fallback removed for broader compatibility */
  -ms-overflow-style: none; /* IE and Edge */
}

.comments-section textarea::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

body.theme-light .comments-section textarea {
  background: var(--bg-light);
  color: var(--text-light);
  border-color: var(--border-light);
}

.comments-section textarea:focus {
  border-color: var(--accent-primary);
}

.comments-section textarea::placeholder {
  color: var(--text-muted-dark);
}

body.theme-light .comments-section textarea::placeholder {
  color: var(--text-muted-light);
}

.input-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-count {
  color: var(--text-muted-dark);
  font-size: 12px;
  font-weight: 500;
}

body.theme-light .char-count {
  color: var(--text-muted-light);
}

/* Comment List - Scrollbar Free */
.comment-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0; /* allow flexbox to compute height correctly so scroll works */
  padding: 0;
  /* Hide scrollbar completely */
  -ms-overflow-style: none; /* IE and Edge */
}

.comment-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Smooth touch behavior on mobile */
.comment-list {
  touch-action: pan-y;
}

/* Modern Comment Items */
.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
  transition: background-color 0.1s ease;
  position: relative;
}

body.theme-light .comment-item {
  border-bottom-color: var(--border-light);
}

.comment-item:hover {
  background: var(--glass-dark);
}

body.theme-light .comment-item:hover {
  background: var(--glass-light);
}

.comment-item.reply {
  margin-left: 52px;
  padding: 12px 20px;
  border-bottom: none;
}

.comment-item.reply::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-dark);
}

body.theme-light .comment-item.reply::before {
  background: var(--border-light);
}

.comment-avatar .avatar-placeholder {
  width: 36px;
  height: 36px;
  font-size: 13px;
  flex-shrink: 0;
}

.comment-item.reply .comment-avatar .avatar-placeholder {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.comment-username {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

body.theme-light .comment-username {
  color: var(--text-light);
}

.comment-badge {
  background: var(--accent-primary);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.comment-time {
  color: var(--text-muted-dark);
  font-size: 12px;
}

body.theme-light .comment-time {
  color: var(--text-muted-light);
}

.comment-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  word-break: break-word;
  color: var(--text-dark);
}

body.theme-light .comment-text {
  color: var(--text-light);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted-dark);
  margin-bottom: 6px;
}

body.theme-light .comment-meta {
  color: var(--text-muted-light);
}

.comment-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}

.comment-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-muted-dark);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 500;
}

body.theme-light .comment-action {
  color: var(--text-muted-light);
}

.comment-action:hover {
  color: var(--accent-primary);
  background: rgba(29, 155, 240, 0.1);
}

.comment-action.liked {
  color: var(--accent-danger);
}

.comment-action.liked:hover {
  background: rgba(249, 24, 128, 0.1);
}

.comment-action svg {
  width: 16px;
  height: 16px;
}

/* Reply Form */
.reply-form {
  margin-top: 12px;
  padding: 12px;
  background: var(--glass-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  animation: slideDown 0.2s ease-out;
}

body.theme-light .reply-form {
  background: var(--glass-light);
  border-color: var(--border-light);
}

/* Transparent reply form when replying to nested comments */
.reply-form.transparent {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body.theme-light .reply-form.transparent {
  background: rgba(0,0,0,0.03);
  border: 1px dashed rgba(0,0,0,0.06);
}

.reply-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.reply-input-wrapper textarea {
  flex: 1;
  min-height: 50px;
  max-height: 100px;
  padding: 8px 12px;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 14px;
  border-radius: var(--radius-md);
  resize: none;
  line-height: 1.4;
  outline: none;
  transition: var(--transition);
  /* Hide scrollbar for WebKit; keep IE/Edge fallback */
  -ms-overflow-style: none;
}

.reply-input-wrapper textarea::-webkit-scrollbar {
  display: none;
}

body.theme-light .reply-input-wrapper textarea {
  background: var(--bg-light);
  color: var(--text-light);
  border-color: var(--border-light);
}

.reply-input-wrapper textarea:focus {
  border-color: var(--accent-primary);
}

.reply-input-wrapper textarea::placeholder {
  color: var(--text-muted-dark);
}

body.theme-light .reply-input-wrapper textarea::placeholder {
  color: var(--text-muted-light);
}

.reply-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: flex-end;
}

/* View Replies Button */
.view-replies {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 13px;
  cursor: pointer;
  padding: 6px 12px;
  margin-top: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 600;
}

.view-replies:hover {
  background: rgba(29, 155, 240, 0.1);
}

.view-replies svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.view-replies.expanded svg {
  transform: rotate(180deg);
}

.replies-container {
  margin-top: 8px;
}

/* Loading and Empty States */
.loading-comments, .no-comments {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted-dark);
  font-style: italic;
}

body.theme-light .loading-comments,
body.theme-light .no-comments {
  color: var(--text-muted-light);
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-dark);
  border-top: 2px solid var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-state {
  text-align: center;
  padding: 32px 20px;
  color: var(--accent-danger);
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 16px;
  right: 16px;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: slideInRight 0.3s ease-out;
  max-width: 300px;
}

body.theme-light .toast {
  background: var(--bg-card-light);
  border-color: var(--border-light);
}

.toast-success {
  border-left: 4px solid var(--accent-success);
}

.toast-error {
  border-left: 4px solid var(--accent-danger);
}

.toast-warning {
  border-left: 4px solid var(--accent-secondary);
}

.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.toast-message {
  color: var(--text-dark);
  flex: 1;
  font-size: 14px;
}

body.theme-light .toast-message {
  color: var(--text-light);
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

/* Utility Classes */
.loading-comments, .no-comments {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted-dark);
  font-style: italic;
}

body.theme-light .loading-comments,
body.theme-light .no-comments {
  color: var(--text-muted-light);
}

.error-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--accent-danger);
}

.small {
  font-size: 12px;
}

.vote-success {
  text-align: center;
  padding: 16px;
}

.vote-success p {
  margin-bottom: 6px;
  color: var(--text-dark);
}

body.theme-light .vote-success p {
  color: var(--text-light);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 24px 16px;
  color: var(--text-muted-dark);
  font-size: 13px;
  border-top: 1px solid var(--border-dark);
}

body.theme-light .site-footer {
  color: var(--text-muted-light);
  border-top-color: var(--border-light);
}

.site-footer nav {
  margin-top: 6px;
}

.site-footer a {
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--accent-primary);
}

/* Admin Actions */
.admin-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Export Section */
.export-section {
  margin-top: 32px;
  padding: 20px;
  background: var(--glass-dark);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
}

.export-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.export-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.export-option:hover {
  border-color: var(--accent-primary);
}

.export-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.export-info h4 {
  margin: 0 0 2px 0;
  font-size: 14px;
}

.export-info p {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted-dark);
  line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .topbar {
    padding: 8px 12px;
  }
  
  .flag {
    width: 28px;
    height: 28px;
  }
  
  .brand {
    font-size: 14px;
  }
  
  .countdown-banner,
  .disclaimer {
    display: none;
  }
  
  .hero {
    padding: 32px 12px;
    min-height: 50vh;
  }
  
  .hero-card {
    padding: 24px 16px;
  }
  
  .hero-image {
    height: 140px;
    margin-bottom: 20px;
  }
  
  .headline {
    font-size: 22px;
  }
  
  .lead {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .poll-wrap {
    padding: 12px;
    gap: 12px;
  }
  
  .poll-card {
    padding: 16px;
  }
  
  .poll-card h1 {
    font-size: 18px;
  }
  
  .comments-section {
    order: 2;
  }
  
  .center-card {
    margin: 16px auto;
    padding: 20px 16px;
  }
  
  .pill {
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .comments-header {
    padding: 12px 16px;
  }
  
  .comment-input-area {
    padding: 12px 16px;
  }
  
  .comment-item {
    padding: 12px 16px;
  }
  
  .comment-item.reply {
    margin-left: 44px;
    padding: 8px 16px;
  }
  
  .results-stats {
    grid-template-columns: 1fr;
  }
  
  .cta {
    flex-direction: column;
    align-items: center;
  }
  
  .cta .btn {
    width: 100%;
    max-width: 240px;
  }
  
  .export-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 24px 12px;
  }
  
  .hero-card {
    padding: 20px 12px;
  }
  
  .hero-image {
    height: 120px;
  }
  
  .cta .btn {
    width: 100%;
  }
  
  .confirm-actions {
    flex-direction: column;
  }
  
  .comment-actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .comment-action {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .admin-actions {
    flex-direction: column;
  }
  
  .admin-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Updated Trending Poll Card Mini - Match Parent Canvas Border */
.poll-card-mini {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--canvas-border-color);
  border-radius: 12px; /* Match parent canvas border radius */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: var(--background-light);
  max-width: 100%;
  margin: 8px auto;
  text-decoration: none;
}

.poll-card-mini img.mini-thumb {
  width: 60px;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.poll-card-mini .mini-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.poll-card-mini .mini-label {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.poll-card-mini .mini-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.poll-card-mini:hover {
  background-color: var(--background-hover);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .poll-card-mini {
    flex-direction: column;
    align-items: flex-start;
  }

  .poll-card-mini img.mini-thumb {
    width: 100%;
    max-width: 100px;
    margin-bottom: 6px;
  }

  .poll-card-mini .mini-body {
    align-items: flex-start;
  }
}