:root {
  --green: #00A651;
  --deep: #0B3D2E;
  --gold: #F5C518;
  --black: #0A0A0A;
  --off: #F7F4EF;
  --card: #FFFFFF;
  --radius: 16px;
}
body.chagua-roadster {
  background: var(--off) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #111;
  -webkit-font-smoothing: antialiased;
}
body.chagua-roadster.cr-dark { background: #0A0A0A !important; color: #f0f0f0; }
body.chagua-roadster.cr-dark article,
body.chagua-roadster.cr-dark .card,
body.chagua-roadster.cr-dark .entry { background: #161616 !important; color: #f0f0f0; border-color: #222 !important; }

body.chagua-roadster header,
body.chagua-roadster .site-header {
  background: var(--black) !important;
  border-bottom: 1px solid #1a1a1a !important;
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
}
body.chagua-roadster header a { color: #fff !important; font-weight: 500; letter-spacing: -0.01em; }

body.chagua-roadster h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

body.chagua-roadster article,
body.chagua-roadster .card,
body.chagua-roadster .candidate,
body.chagua-roadster .entry {
  background: var(--card) !important;
  border-radius: var(--radius) !important;
  border: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04) !important;
  padding: 1.5rem !important;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
body.chagua-roadster article:hover,
body.chagua-roadster .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,166,81,.08) !important;
}

body.chagua-roadster .button,
body.chagua-roadster a.button {
  background: var(--green) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: .8rem 1.6rem !important;
  font-weight: 600 !important;
  border: none !important;
  letter-spacing: -0.01em;
}

/* Roadster bar */
.cr-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(10,10,10,.92); color: #fff;
  backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: .5rem .6rem .5rem 1.1rem;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  max-width: calc(100% - 24px);
}
.cr-bar-inner { display: flex; align-items: center; gap: .5rem; }
.cr-ballot-status { font-weight: 600; font-size: .9rem; letter-spacing: -0.01em; padding-right: .4rem; }
.cr-days { background: var(--gold); color: #111; font-weight: 700; font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; }
.cr-btn {
  background: #222; color: #fff; border: none; border-radius: 999px;
  padding: .45rem .9rem; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.cr-wa { background: #25D366 !important; }
.cr-ghost { background: transparent; color: #aaa; }

/* Drawer */
.cr-drawer {
  position: fixed; bottom: 80px; right: 16px;
  width: min(380px, calc(100% - 32px));
  background: #fff; color: #111;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  z-index: 9998; padding: 1.25rem;
  border: 1px solid rgba(0,0,0,.06);
}
body.cr-dark .cr-drawer { background: #161616; color: #f0f0f0; border-color: #222; }
.cr-drawer-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.cr-drawer-header button { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: inherit; }
.cr-drawer-body { font-size: .95rem; line-height: 1.4; margin-bottom: 1rem; }
.cr-drawer-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cr-inline { font-weight: 600; }

@media (max-width: 640px) {
  .cr-bar { bottom: 8px; border-radius: 20px; padding: .4rem; }
  .cr-ballot-status { font-size: .8rem; }
  .cr-drawer { left: 8px; right: 8px; width: auto; bottom: 72px; }
}
