.vote-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.2;
}

.vote-banner[data-host-only="typeeasily"] {
  height: 45px;
  min-height: 45px;
  padding: 0 0.35rem 0 1rem;
}

.vote-banner[hidden],
html.vote-banner-off .vote-banner {
  display: none !important;
}

.vote-banner p {
  margin: 0;
  color: var(--ink);
  flex: 1 1 auto;
  min-width: 0;
}

.vote-banner[data-host-only="typeeasily"] p {
  flex: 0 1 auto;
  min-width: unset;
  white-space: nowrap;
}

.vote-banner a {
  color: var(--accent-2);
  font-weight: 600;
  text-underline-offset: 0.12em;
  white-space: nowrap;
}

.vote-banner-dismiss {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 44px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
}

.vote-banner-dismiss span {
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
}

.vote-banner-dismiss:hover,
.vote-banner-dismiss:focus-visible {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
}

@media (max-width: 640px) {
  .vote-banner {
    justify-content: flex-start;
    gap: 0.25rem;
    font-size: 12px;
  }

  .vote-banner[data-host-only="typeeasily"] {
    padding: 0 0 0 0.55rem;
  }
}
