.vote-main-content {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.vote-page-shell {
  display: grid;
  gap: 28px;
}

.vote-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.rewards-surface {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(12, 14, 20, 0.84);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  padding: 24px;
}

.rewards-hub-overline {
  margin: 0 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(195, 210, 255, 0.7);
}

.vote-hero-card h2,
.vote-lookup-card h3,
.vote-section-head h2,
.vote-site-card h3,
.vote-reward-card h3 {
  margin: 0;
}

.vote-hero-copy,
.vote-lookup-copy,
.vote-section-head p {
  margin: 12px 0 0;
  color: rgba(232, 236, 245, 0.82);
}

.vote-hero-meta,
.vote-lookup-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.vote-hero-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vote-lookup-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vote-hero-metric,
.vote-lookup-kv,
.vote-site-meta > div,
.vote-site-status,
.vote-site-history > div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.vote-hero-metric small,
.vote-lookup-kv small,
.vote-site-meta small,
.vote-site-status small,
.vote-site-history small {
  display: block;
  color: rgba(203, 211, 228, 0.7);
  font-size: 0.78rem;
}

.vote-hero-metric strong,
.vote-lookup-kv strong,
.vote-site-meta strong,
.vote-site-status strong,
.vote-site-history strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.vote-lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-top: 18px;
}

.vote-lookup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 12px;
}

.vote-action-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}

.vote-action-button:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.vote-action-button:disabled {
  opacity: 0.48;
  cursor: default;
}

.vote-last-checked {
  color: rgba(232, 236, 245, 0.72);
  font-size: 0.84rem;
}

.vote-lookup-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(7, 10, 14, 0.9);
  color: inherit;
  padding: 14px 16px;
  font: inherit;
}

.vote-lookup-message {
  margin: 18px 0 0;
  color: rgba(232, 236, 245, 0.84);
}

.vote-lookup-message.is-error {
  color: #ff8b8b;
}

.vote-lookup-message.is-success {
  color: #9fe0a9;
}

.vote-section {
  display: grid;
  gap: 18px;
}

.vote-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.vote-sites-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.vote-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(232, 236, 245, 0.88);
  font-size: 0.92rem;
}

.vote-filter-toggle input {
  width: 16px;
  height: 16px;
}

.vote-sites-count {
  color: rgba(232, 236, 245, 0.72);
  font-size: 0.84rem;
}

.vote-sites-grid,
.vote-rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vote-site-card,
.vote-reward-card {
  display: grid;
  gap: 16px;
}

.vote-site-card.is-hidden {
  display: none;
}

.vote-reward-progress {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.vote-reward-progress strong,
.vote-reward-progress > span {
  display: block;
}

.vote-reward-progress strong {
  font-size: 0.98rem;
}

.vote-reward-progress > span {
  margin-top: 6px;
  color: rgba(232, 236, 245, 0.72);
  font-size: 0.84rem;
}

.vote-party-progressbar {
  position: relative;
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.vote-party-progressbar > span {
  display: block;
  height: 100%;
  width: 0;
  margin-top: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7bd88f 0%, #a7f0b3 100%);
}

.vote-party-note {
  display: block;
  margin-top: 10px;
  color: rgba(232, 236, 245, 0.66);
  font-size: 0.78rem;
}

.vote-site-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.vote-site-head-copy {
  display: grid;
  gap: 6px;
}

.vote-site-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f6f8fd;
  background: linear-gradient(135deg, rgba(92, 133, 255, 0.95), rgba(56, 82, 153, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.vote-site-card[data-site-key="MINESTATUS"] .vote-site-icon {
  background: linear-gradient(135deg, #5fce8d, #217a54);
}

.vote-site-card[data-site-key="MCSERVERLIST"] .vote-site-icon {
  background: linear-gradient(135deg, #6f9cff, #375cc5);
}

.vote-site-card[data-site-key="BESTMINECRAFTSERVERS"] .vote-site-icon {
  background: linear-gradient(135deg, #f6af5c, #b76b1d);
}

.vote-site-card[data-site-key="MINECRAFTSERVERLIST"] .vote-site-icon {
  background: linear-gradient(135deg, #6dd8ff, #1b6c8e);
}

.vote-site-card[data-site-key="MINECRAFTBUZZ"] .vote-site-icon {
  background: linear-gradient(135deg, #ffd669, #b7871e);
}

.vote-site-card[data-site-key="MINECRAFTSERVERS"] .vote-site-icon {
  background: linear-gradient(135deg, #f08ae8, #8f2d87);
}

.vote-site-card[data-site-key="TOPMINECRAFTSERVERS"] .vote-site-icon {
  background: linear-gradient(135deg, #ff9f8f, #b03d29);
}

.vote-site-card[data-site-key="CURSEFORGE"] .vote-site-icon {
  background: linear-gradient(135deg, #ff8a5b, #b6481f);
}

.vote-site-card[data-site-key="MINECRAFTMP"] .vote-site-icon {
  background: linear-gradient(135deg, #8dc8ff, #2f5fa6);
}

.vote-site-card[data-site-key="MCSERVERS"] .vote-site-icon {
  background: linear-gradient(135deg, #b490ff, #5a36a9);
}

.vote-site-host {
  margin: 0;
  color: rgba(232, 236, 245, 0.64);
  font-size: 0.82rem;
}

.vote-site-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vote-site-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vote-site-status span {
  display: block;
  margin-top: 6px;
  color: rgba(232, 236, 245, 0.72);
  font-size: 0.84rem;
}

.vote-site-card.is-ready {
  border-color: rgba(108, 204, 127, 0.36);
}

.vote-site-card.is-ready .vote-site-status strong {
  color: #8fe8a1;
}

.vote-site-card.is-cooldown {
  border-color: rgba(255, 196, 84, 0.26);
}

.vote-site-card.is-cooldown .vote-site-status strong {
  color: #ffd46e;
}

.vote-reward-card.is-claimed {
  border-color: rgba(108, 204, 127, 0.36);
}

.vote-reward-card.is-claimed .vote-reward-progress strong {
  color: #8fe8a1;
}

.vote-reward-card.is-next {
  border-color: rgba(113, 181, 255, 0.34);
}

.vote-reward-card.is-next .vote-reward-progress strong {
  color: #96c8ff;
}

.vote-party-card.is-ready {
  border-color: rgba(108, 204, 127, 0.36);
}

.vote-party-card.is-ready .vote-reward-progress strong {
  color: #8fe8a1;
}

.vote-site-action {
  justify-self: start;
}

.vote-reward-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(232, 236, 245, 0.86);
}

.vote-reward-card li + li {
  margin-top: 6px;
}

@media (max-width: 1080px) {
  .vote-hero-shell,
  .vote-sites-grid,
  .vote-rewards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .vote-main-content {
    width: min(100vw - 28px, 100%);
    padding: 24px 0 56px;
  }

  .vote-hero-shell,
  .vote-sites-grid,
  .vote-rewards-grid,
  .vote-lookup-grid,
  .vote-site-meta,
  .vote-hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .vote-lookup-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .vote-section-head {
    align-items: start;
    flex-direction: column;
  }

  .vote-sites-toolbar {
    align-items: start;
    flex-direction: column;
  }
}
