.cba-category-ballot {
  min-height: 70vh;
  padding: 36px 18px 80px;
  background: #f5f6f8;
  color: #111;
}

.cba-category-ballot-shell {
  width: min(980px, 100%);
  margin: 0 auto;
}

.cba-category-ballot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
}

.cba-category-ballot-nav a {
  color: inherit;
  font-weight: 700;
}

.cba-category-ballot-nav span {
  color: #62646a;
}

.cba-category-ballot-hero {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  background: #fff;
}

.cba-category-ballot-eyebrow {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cba-category-ballot-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.02;
}

.cba-category-ballot-hero p {
  max-width: 720px;
  margin: 0;
  color: #55585f;
  font-size: 16px;
  line-height: 1.55;
}

.cba-category-ballot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.cba-category-ballot-meta span,
.cba-category-ballot-tags span {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid #d8dae0;
  border-radius: 999px;
  background: #fafafa;
  font-size: 12px;
  font-weight: 700;
}

.cba-category-ballot-session {
  margin: 18px 0;
  padding: 12px 15px;
  border: 1px solid #dfe1e6;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
}

.cba-category-ballot-session strong {
  margin-right: 4px;
  font-size: 17px;
}

.cba-category-ballot-list {
  display: grid;
  gap: 14px;
}

.cba-category-ballot-card {
  position: relative;
  display: grid;
  grid-template-columns:
    34px
    150px
    minmax(0, 1fr)
    minmax(185px, 220px);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #dfe1e6;
  border-radius: 13px;
  background: #fff;
}

.cba-category-ballot-card.is-sponsored {
  border-width: 2px;
  border-color: #111;
}

.cba-category-ballot-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.cba-category-ballot-image {
  display: block;
  overflow: hidden;
  width: 150px;
  height: 128px;
  border-radius: 9px;
  background: #eceef1;
}

.cba-category-ballot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cba-category-ballot-content {
  min-width: 0;
}

.cba-category-ballot-content h2 {
  margin: 0 0 9px;
  font-size: 23px;
  line-height: 1.15;
}

.cba-category-ballot-content h2 a {
  color: inherit;
  text-decoration: none;
}

.cba-category-ballot-content p {
  margin: 12px 0 8px;
  color: #55585f;
  font-size: 13px;
  line-height: 1.48;
}

.cba-category-ballot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cba-category-business-link {
  color: #111;
  font-size: 12px;
  font-weight: 750;
}

.cba-category-sponsored-label {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 4px 6px;
    border-radius: 5px;
    background: #fae700;
    color: #000;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.cba-category-ballot-action {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 9px;
}

.cba-category-ballot-action button {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.cba-category-ballot-action button:hover:not(:disabled) {
  opacity: .84;
}

.cba-category-ballot-action button:disabled {
  cursor: default;
  opacity: .62;
}





.cba-category-vote-message {
    min-height: auto;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    text-align: left;
}

.cba-category-vote-message.is-success {
  color: #176b35;
}

.cba-category-vote-message.is-error {
  color: #b00020;
}

.cba-category-ballot-card.is-voted {
  border-color: #176b35;
}


.cba-category-ballot-empty {
  padding: 45px 24px;
  border: 1px solid #dfe1e6;
  border-radius: 13px;
  background: #fff;
  text-align: center;
}

.cba-category-ballot-empty h2 {
  margin: 0 0 8px;
}

.cba-category-ballot-empty p {
  margin: 0;
}

@media (max-width: 820px) {
  .cba-category-ballot-card {
    grid-template-columns:
      34px
      120px
      minmax(0, 1fr);
  }

  .cba-category-ballot-image {
    width: 120px;
    height: 110px;
  }

  .cba-category-ballot-action {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      auto;
    align-items: center;
  }

  .cba-category-vote-message {
      min-height: auto;
      font-size: 11px;
      font-weight: 650;
      line-height: 1.35;
      text-align: left;
  }
}

@media (max-width: 560px) {
  .cba-category-ballot {
    padding:
      22px
      12px
      60px;
  }

  .cba-category-ballot-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .cba-category-ballot-card {
    grid-template-columns:
      30px
      minmax(0, 1fr);
    align-items: start;
    gap: 13px;
  }

  .cba-category-ballot-image {
    grid-column: 1 / -1;
    width: 100%;
    height: 190px;
  }

  .cba-category-ballot-content {
    grid-column: 1 / -1;
  }

  .cba-category-ballot-action {
    grid-column: 1 / -1;
    display: flex;
  }

  .cba-category-ballot-hero h1 {
    font-size: 36px;
  }
}


/* Ballot category navigation */

.cba-category-ballot-links {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.cba-category-ballot-link-group {
  padding: 24px;
  border: 1px solid #dfe1e6;
  border-radius: 13px;
  background: #fff;
}

.cba-category-ballot-link-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #656870;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cba-category-ballot-link-group h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.15;
}

.cba-category-ballot-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cba-category-ballot-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #d8dae0;
  border-radius: 999px;
  background: #fafafa;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.cba-category-ballot-link-list a:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

@media (max-width: 700px) {
  .cba-category-ballot-links {
    grid-template-columns: 1fr;
  }
}

/* Award-slot timing and category navigation refinements */

.cba-category-ballot-timing {
  display: grid;
  grid-template-columns:
    minmax(0, .8fr)
    minmax(0, 1.5fr)
    minmax(0, .8fr);
  gap: 10px;
  margin-top: 24px;
}

.cba-category-ballot-timing-item {
  padding: 13px 14px;
  border: 1px solid #d8dae0;
  border-radius: 9px;
  background: #f8f8f9;
}

.cba-category-ballot-timing-item span {
  display: block;
  margin-bottom: 4px;
  color: #666970;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.cba-category-ballot-timing-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.cba-category-ballot-timing-item
[data-ballot-timer-value] {
  font-variant-numeric: tabular-nums;
  font-size: 18px;
}

.cba-category-ballot-timing-explainer {
  max-width: 780px;
  margin: 11px 0 0 !important;
  color: #656870 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.cba-category-ballot-link-list {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cba-category-ballot-link-list a {
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 8px;
}

.cba-category-ballot-link-list a::after {
  content: "\203A";
  margin-left: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.cba-category-ballot-link-group.no-ads {
  min-height: 0;
}

@media (max-width: 760px) {
  .cba-category-ballot-timing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .cba-category-ballot-link-list {
    grid-template-columns: 1fr;
  }
}

/* Ballot nominee-card simplification */

.cba-category-ballot-card {
  grid-template-columns:
    minmax(0, 1fr)
    minmax(185px, 220px);
}

.cba-category-ballot-card.has-logo {
    grid-template-columns: 120px minmax(0, 1fr) minmax(185px, 220px);
}

.cba-category-ballot-card:not(.has-logo)
.cba-category-ballot-content {
  padding-left: 8px;
}

.cba-category-ballot-card.has-logo
.cba-category-ballot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cba-category-ballot-content h2 a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .cba-category-ballot-card {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(170px, 210px);
  }

  .cba-category-ballot-card.has-logo {
    grid-template-columns:
      120px
      minmax(0, 1fr);
  }

  .cba-category-ballot-card.has-logo
  .cba-category-ballot-image {
    width: 120px;
    height: 105px;
  }

  .cba-category-ballot-card.has-logo
  .cba-category-ballot-action {
    grid-column: 1 / -1;
  }

  .cba-category-ballot-action {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .cba-category-ballot-card,
  .cba-category-ballot-card.has-logo {
    grid-template-columns: 1fr;
  }

  .cba-category-ballot-card.has-logo
  .cba-category-ballot-image {
    grid-column: 1;
    width: 100%;
    height: 130px;
  }

  .cba-category-ballot-content,
  .cba-category-ballot-action,
  .cba-category-ballot-card.has-logo
  .cba-category-ballot-action {
    grid-column: 1;
  }

  .cba-category-ballot-card:not(.has-logo)
  .cba-category-ballot-content {
    padding-left: 0;
  }
}

/* Server-rendered nominee voting locks */

.cba-category-ballot-action
button[data-category-vote]:disabled {
  cursor: not-allowed;
  pointer-events: none;
  background: #777;
  border-color: #777;
  opacity: 1;
}

.cba-category-ballot-action
button[data-category-vote][aria-disabled="true"] {
  cursor: not-allowed;
}

.cba-category-ballot-card.has-logo .cba-category-ballot-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 1px solid #e0e2e7;
  border-radius: 9px;
  background: #fff;
  box-sizing: border-box;
}

/* CBA_BALLOT_FOLLOW_PANEL_STYLE_START */

.cba-ballot-follow-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #d8dae0;
  border-radius: 13px;
  background: #f8f8f9;
}

.cba-ballot-follow-heading > span {
  display: block;
  margin-bottom: 5px;
  color: #ff3c57;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cba-ballot-follow-heading h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.15;
}

.cba-category-ballot-hero
.cba-ballot-follow-heading p {
  max-width: none;
  margin: 0;
  color: #62646a;
  font-size: 13px;
  line-height: 1.45;
}

.cba-ballot-follow-options {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.cba-ballot-follow-option {
  appearance: none;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid #d8dae0;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.cba-ballot-follow-option.is-primary {
  grid-column: 1 / -1;
  min-height: 84px;
  border-color: #111;
}

.cba-ballot-follow-option:hover {
  border-color: #111;
  transform: translateY(-1px);
}

.cba-ballot-follow-option:focus-visible {
  outline: 3px solid rgba(255, 60, 87, .22);
  outline-offset: 2px;
}

.cba-ballot-follow-option.is-on {
  border-color: #ff3c57;
  box-shadow:
    0 0 0 2px rgba(255, 60, 87, .12);
}

.cba-ballot-follow-option:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.cba-ballot-follow-copy {
  min-width: 0;
}

.cba-ballot-follow-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.cba-ballot-follow-option.is-primary
.cba-ballot-follow-copy strong {
  font-size: 16px;
}

.cba-ballot-follow-copy small {
  display: block;
  margin-top: 4px;
  color: #62646a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.cba-ballot-follow-switch {
  position: relative;
  display: block;
  width: 44px;
  min-width: 44px;
  height: 25px;
  border-radius: 999px;
  background: #cfd4dd;
  transition: background-color .16s ease;
}

.cba-ballot-follow-switch > span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .24);
  transition: transform .16s ease;
}

.cba-ballot-follow-option.is-on
.cba-ballot-follow-switch {
  background: #ff3c57;
}

.cba-ballot-follow-option.is-on
.cba-ballot-follow-switch > span {
  transform: translateX(19px);
}

.cba-ballot-follow-voting {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #dde0e6;
  color: #62646a;
  font-size: 11px;
  line-height: 1.4;
}

.cba-ballot-follow-voting strong {
  color: #111;
}

.cba-ballot-follow-voting span {
  margin-left: auto;
}

.cba-ballot-follow-status {
  min-height: 18px;
  margin-top: 7px;
  color: #176b35;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.cba-ballot-follow-status.is-error {
  color: #b00020;
}

.cba-ballot-follow-panel.is-loading
.cba-ballot-follow-option {
  opacity: .72;
}

@media (max-width: 700px) {
  .cba-ballot-follow-panel {
    padding: 15px;
  }

  .cba-ballot-follow-options {
    grid-template-columns: 1fr;
  }

  .cba-ballot-follow-option.is-primary {
    grid-column: 1;
  }

  .cba-ballot-follow-voting {
    display: block;
  }

  .cba-ballot-follow-voting span {
    display: block;
    margin: 3px 0 0;
  }
}

/* CBA_BALLOT_FOLLOW_PANEL_STYLE_END */

/* CBA_CATEGORY_VOTE_TOGGLE_STYLE_START */

/*
 * Public ballot vote state:
 *
 * Available:
 * - white background
 * - black border and text
 *
 * Recorded:
 * - black background
 * - white text
 *
 * This is a one-way visual state. It does not add unvote
 * behavior or change voting rules.
 */

[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-category-vote] {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 14px !important;

  border: 2px solid #111 !important;
  border-radius: 8px !important;

  background: #ffffff !important;
  color: #000000 !important;

  cursor: pointer;
  opacity: 1 !important;

  font: inherit;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.25;

  transition:
    background-color .16s ease,
    color .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

/*
 * Available Vote state.
 */
[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-category-vote]:not(:disabled):not(
  [aria-disabled="true"]
) {
  background: #ffffff !important;
  border-color: #111 !important;
  color: #000000 !important;
}

[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-category-vote]:not(:disabled):not(
  [aria-disabled="true"]
):hover {
  background: #f1f1f1 !important;
  color: #000000 !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-category-vote]:not(:disabled):not(
  [aria-disabled="true"]
):active {
  transform: translateY(0);
}

/*
 * Recorded Voted state.
 */
[data-context-bell-enabled="1"]
.cba-category-ballot-card.is-voted
.cba-category-ballot-action
button[data-category-vote],
[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-category-vote]:disabled,
[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-category-vote][aria-disabled="true"] {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;

  cursor: default !important;
  opacity: 1 !important;
  transform: none !important;
}

/* CBA_CATEGORY_VOTE_TOGGLE_STYLE_END */

/*
 * CBA_BALLOT_VOTE_CONTROL_COLUMN_V1
 *
 * Left column:
 *   Vote/Voted
 *   Vote again in 23h 50m.
 *
 * Right column:
 *   Contextual notification bell
 */
.cba-category-ballot
.cba-category-vote-actions {
  display: grid !important;
  grid-template-columns:
    minmax(0, 1fr)
    44px !important;
  grid-template-rows: auto !important;
  align-items: start !important;
  column-gap: 10px !important;
  row-gap: 0 !important;
}

.cba-category-ballot
.cba-category-vote-control-column {
  display: flex !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.cba-category-ballot
.cba-category-vote-control-column
button[data-category-vote] {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.cba-category-ballot
.cba-category-vote-control-column
[data-category-vote-message] {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.cba-category-ballot
.cba-category-vote-actions
> .cba-context-bell-trigger {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;
  margin: 0 !important;
}


/*
 * CBA_BALLOT_ACTIVITY_CLEANUP_V4
 */
.cba-category-ballot
.cba-category-ballot-hero {
  margin-bottom: 20px;
}

/*
 * CBA_BALLOT_GUEST_FOLLOW_CTA_V2
 */

.cba-ballot-follow-auth {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #d9dde5;
  border-radius: 12px;
  background: #ffffff;
}

.cba-ballot-follow-auth[hidden] {
  display: none !important;
}

.cba-ballot-follow-auth p {
  margin: 0;
  color: #4f5868;
  font-size: 13px;
  line-height: 1.5;
}

.cba-ballot-follow-auth-actions {
  display: flex;
  margin-top: 12px;
  gap: 10px;
}

.cba-ballot-follow-auth-actions button,
.cba-ballot-follow-auth-actions a {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #111111;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cba-ballot-follow-auth-actions button {
  background: #ffffff;
  color: #111111;
}

.cba-ballot-follow-auth-actions a {
  background: #111111;
  color: #ffffff;
}

.cba-vote-reminder-auth-actions
.cba-vote-reminder-signin {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/*
 * CBA_BALLOT_FOLLOW_AUTH_POPOVER_V3
 */

/* Retire the previous inline CTA beneath the ballot/ad content. */
.cba-ballot-follow-auth {
  display: none !important;
}

.cba-ballot-follow-auth-backdrop {
  position: fixed;
  z-index: 1000002;
  inset: 0;
  background: rgba(17, 17, 17, 0.08);
  pointer-events: auto;
}

.cba-ballot-follow-auth-backdrop[hidden] {
  display: none !important;
}

.cba-ballot-follow-auth-popover {
  position: fixed;
  width: min(370px, calc(100vw - 24px));
  padding: 22px;
  border: 1px solid #d8dde6;
  border-radius: 15px;
  background: #ffffff;
  color: #111111;
  box-shadow:
    0 18px 55px
    rgba(17, 17, 17, 0.24);
  text-align: left;
}

.cba-ballot-follow-auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f1f3;
  color: #596172;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cba-ballot-follow-auth-close:hover {
  background: #e2e4e8;
  color: #111111;
}



.cba-ballot-follow-auth-popover h3 {
  margin: 0;
  padding-right: 34px;
  font-size: 20px;
  line-height: 1.25;
}

.cba-ballot-follow-auth-popover p {
  margin: 8px 0 0;
  color: #596172;
  font-size: 13px;
  line-height: 1.5;
}

.cba-ballot-follow-auth-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
  gap: 10px;
}

.cba-ballot-follow-auth-popover-actions button,
.cba-ballot-follow-auth-popover-actions a {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #111111;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.cba-ballot-follow-auth-signin {
  background: #ffffff;
  color: #111111;
}

.cba-ballot-follow-auth-signup {
  background: #111111;
  color: #ffffff;
}

.cba-ballot-follow-auth-signin:hover {
  background: #f4f5f7;
}

.cba-ballot-follow-auth-signup:hover {
  background: #292929;
  color: #ffffff;
}

@media (max-width: 640px) {
  .cba-ballot-follow-auth-backdrop {
    background: rgba(17, 17, 17, 0.28);
  }

  .cba-ballot-follow-auth-popover {
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    top: auto !important;
    width: auto !important;
  }
}


/*
 * CBA_ACTIVITY_INDICATOR_CLEANUP_V4
 * Decorative follow authentication icon removed.
 */

/*
 * CBA_MOBILE_AD_IMAGE_HEIGHT_110_V2
 *
 * Mobile category-ballot ad image height.
 * JavaScript below also enforces this against dynamically injected
 * inline and important ad styles.
 */
@media (max-width: 760px) {
  .cba-category-ballot .pu-unit.stk img,
  .pu-unit.stk img {
    height: 110px !important;
    max-height: 110px !important;
  }
}

/*
 * CBA_BALLOT_NOMINATE_BUSINESS_CTA_CSS_V2
 * Nomination prompt directly above ballot results.
 */
.cba-category-ballot-nominate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 14px;
  padding: 18px 20px;
  border: 1px solid #dfe1e6;
  border-radius: 13px;
  background: #fff;
}

.cba-category-ballot-nominate-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cba-category-ballot-nominate-copy strong {
  color: #111;
  font-size: 16px;
  line-height: 1.3;
}

.cba-category-ballot-nominate-copy span {
  color: #5f6368;
  font-size: 13px;
  line-height: 1.45;
}

.cba-category-ballot-nominate-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #111;
  border-radius: 9px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.cba-category-ballot-nominate-button:hover,
.cba-category-ballot-nominate-button:focus-visible {
  background: #333;
  color: #fff;
  text-decoration: none;
}

.cba-category-ballot-nominate-button:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.2);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .cba-category-ballot-nominate {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .cba-category-ballot-nominate-button {
    width: 100%;
  }
}


/*
 * CBA_CATEGORY_BALLOT_POST_SHORTCUT_STYLE_V2
 *
 * Keep the existing Vote + notification bell as the primary row.
 * The optional Post shortcut uses the full row underneath instead
 * of falling into the bell's narrow grid column.
 */

[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-cba-context-post] {
  grid-column: 1 / -1 !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 40px !important;

  margin: 0 !important;
  padding: 9px 14px !important;

  border: 1px solid #111 !important;
  border-radius: 8px !important;

  background: #fff !important;
  color: #111 !important;

  cursor: pointer !important;

  font: inherit !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;

  opacity: 1 !important;
  transform: none !important;
}

[data-context-bell-enabled="1"]
.cba-category-ballot-card
.cba-category-ballot-action
button[data-cba-context-post]:hover {
  background: #f1f1f1 !important;
  color: #111 !important;

  opacity: 1 !important;
  transform: none !important;
}

/* CBA_BALLOT_SHELL_WIDTH_1280_V1 */
html body .cba-category-ballot .cba-category-ballot-shell {
    width: min(1280px, 100%);
    margin: 0 auto;
}


/* CBA_CATEGORY_BALLOT_CONTEXT_FEED_V1 */
html body
.cba-category-ballot
.cba-category-ballot-community {
    padding: 34px 0 48px;
}

html body
.cba-category-ballot
.cba-category-ballot-community-inner {
    width: min(760px, 100%);
    margin: 0 auto;
}

html body
.cba-category-ballot
.cba-category-ballot-community-heading {
    margin: 0 0 16px;
}

html body
.cba-category-ballot
.cba-category-ballot-community-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

html body
.cba-category-ballot
.cba-category-ballot-community
.cba-post-feed {
    width: 100%;
}



/*
 * CBA_BALLOT_PURPLE_SWITCHES_V1
 */
.cba-ballot-follow-option.is-on
.cba-ballot-follow-switch {
    background: #5b35ff;
}

.cba-ballot-follow-option.is-on {
    border-color: #5b35ff;
    box-shadow: 0 0 0 2px rgba(255, 60, 87, .12);
}

.cba-context-switch.is-on {
    background: #5a35fd;
}


/*
 * CBA_BALLOT_HERO_H1_V1
 */
.cba-category-ballot-hero h1 {
    max-width: 780px;
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: normal;
}


/*
 * CBA_VOTE_SINGLE_COLUMN_LISTS_V1
 */

html body .cba-category-ballot .cba-category-ballot-list {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 18px !important;
}


.cba-category-ballot-links {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}



/*
 * CBA_VOTE_VISUAL_TUNING_V2
 */

.cba-category-ballot-hero h1 {
    max-width: 100%;
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 40px);
    line-height: normal;
}


.cba-category-ballot .cba-category-ballot-hero {
    margin-bottom: 0;
}


.cba-category-ballot-hero {
    padding: 0;
    border-radius: 0;
    background: #fff;
}


html body .cba-category-ballot .cba-category-ballot-card.cba-social-card-v1 {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto minmax(82px, 1fr) auto !important;
    grid-template-areas:
        "title"
        "subtitle"
        "sponsor"
        "description"
        "actions" !important;
    align-content: start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 270px !important;
    padding: 17px 18px 14px !important;
    border: none !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow: 0 0 37px #00000022 !important;
    box-sizing: border-box !important;
}



/*
 * CBA_VOTE_SURFACE_TRANSPARENT_V3
 */

html body .cba-category-ballot {
    background: transparent !important;
}


html body .cba-category-ballot .cba-category-ballot-hero,
html body .cba-category-ballot-hero {
    border: none !important;
    background: transparent !important;
}



/*
 * CBA_BALLOT_FOLLOW_HEADER_SHARE_SAFE_STYLE_V2B
 */

.cba-ballot-follow-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
}


.cba-ballot-follow-heading-row .cba-ballot-follow-heading {
    flex: 1 1 auto;
    min-width: 0;
}


.cba-ballot-follow-heading-row .cba-vote-share-action {
    flex: 0 0 auto;
    margin: 0;
}


html body
.cba-category-ballot
.cba-ballot-follow-heading-row
.cba-vote-share-trigger {
    display: inline-grid;
    place-items: center;

    width: 40px;
    height: 40px;
    min-width: 40px;

    margin: 0;
    padding: 0;

    border-radius: 999px;

    line-height: 1;
}


html body
.cba-category-ballot
.cba-ballot-follow-heading-row
.cba-vote-share-trigger
[icon="share_2"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    margin: 0;
}



/*
 * CBA_VOTE_SHARE_CUSTOM_SVG_STYLE_V3
 */

html body
.cba-category-ballot
.cba-ballot-follow-heading-row
.cba-vote-share-trigger {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    min-width: 40px;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    line-height: 1;
    background: #fff;
    border: 1px solid;
}


html body
.cba-category-ballot
.cba-vote-share-trigger
.cba-vote-share-trigger__svg {
    display: block;
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    max-width: 25px;
    max-height: 25px;
}



/*
 * CBA_VOTE_SHARE_SIZE_V4
 */

html body
.cba-category-ballot
.cba-vote-share-trigger
.cba-vote-share-trigger__svg {
    width: 21px;
    height: 21px;
    min-width: 21px;
    min-height: 21px;
    max-width: 21px;
    max-height: 21px;
}


html body
.cba-category-ballot
.cba-ballot-follow-heading-row
.cba-vote-share-trigger {
    width: 45px;
    height: 45px;
    min-width: 45px;
}

