:root {
  color-scheme: dark;
  --site-shell-width: 1196px;
  --page: #06101d;
  --header: #050913;
  --panel: rgba(12, 29, 49, 0.82);
  --panel-border: rgba(127, 153, 198, 0.15);
  --white: #f7f8ff;
  --muted: #b7c0d3;
  --purple: #8b4dff;
  --purple-text: #9b6cff;
  --purple-dark: #5b2cc8;
  --pink: #ef3fa1;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-width: 1180px;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #06101d;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  height: 70px;
  background: #050913;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header-inner {
  width: var(--site-shell-width);
  height: 100%;
  display: grid;
  grid-template-columns: 250px 1fr 210px;
  align-items: center;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.brand-icon {
  width: 38px;
  height: 38px;
  color: var(--purple-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text span,
.hero h1 span,
.poll-content p {
  color: var(--purple-text);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 41px;
  padding-left: 18px;
  color: #f0f2fa;
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 178px;
  height: 46px;
  border-radius: 7px;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  box-shadow: 0 12px 26px rgba(124, 61, 255, 0.35);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.header-button {
  justify-self: end;
  width: 139px;
  height: 43px;
}

main {
  width: var(--site-shell-width);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 382px 760px;
  column-gap: 56px;
  padding-top: 33px;
}

.hero-copy {
  padding-top: 39px;
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1.22;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.12);
}

.hero p {
  width: 314px;
  margin: 20px 0 39px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.47;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}

.how-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #c7ccdb;
  font-size: 15px;
  font-weight: 800;
}

.how-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.featured-poll {
  position: relative;
  display: block;
  width: 760px;
  height: 435px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(1, 7, 17, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.featured-poll:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.featured-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.featured-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 7, 17, 0.82);
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
}

.featured-overlay {
  position: absolute;
  inset: 0;
  padding: 32px 28px;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 16, 0.82) 0%,
    rgba(5, 8, 16, 0.58) 44%,
    rgba(5, 8, 16, 0.12) 100%
  );
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-bottom: 28px;
  padding: 0 13px;
  border-radius: 6px;
  background: rgba(91, 44, 200, 0.78);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.featured-overlay h2 {
  width: 430px;
  min-height: 104px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 27px;
  line-height: 1.48;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.featured-results {
  display: grid;
  gap: 17px;
  width: 365px;
}

.featured-result {
  display: grid;
  grid-template-columns: 44px 205px 58px;
  gap: 18px;
  align-items: center;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.featured-result i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(112, 127, 156, 0.34);
}

.featured-result i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--value) * 1%);
  border-radius: inherit;
  background: var(--purple);
}

.featured-result-no i::before {
  background: var(--pink);
}

.featured-result strong {
  font-size: 23px;
}

.featured-total {
  margin: 27px 0 0;
  color: var(--purple-text);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
}

.featured-message {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 900;
}

.info-row {
  display: grid;
  grid-template-columns: 819px 358px;
  gap: 27px;
  margin-top: 39px;
}

.steps-panel,
.share-panel,
.poll-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.steps-panel {
  height: 208px;
  border-radius: 9px;
  padding: 26px 26px 24px;
}

.steps-panel h2,
.share-panel h2,
.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: 244px 241px 214px;
  gap: 26px;
  margin-top: 21px;
}

.step {
  display: grid;
  grid-template-columns: 67px 1fr;
  gap: 19px;
  align-items: center;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7444dd 0%, #5b2cb4 100%);
}

.step-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.step h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}

.share-panel {
  height: 181px;
  align-self: center;
  border-radius: 9px;
  padding: 22px 19px 18px;
}

.share-panel p {
  width: 277px;
  margin: 12px 0 27px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.copy-row {
  display: grid;
  grid-template-columns: 215px 79px;
  gap: 12px;
  align-items: center;
}

.copy-row span {
  height: 41px;
  display: flex;
  align-items: center;
  padding-left: 14px;
  border-radius: 5px;
  background: rgba(1, 7, 17, 0.82);
  color: #cfd4e4;
  font-size: 14px;
}

.copy-row button {
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  box-shadow: 0 10px 22px rgba(124, 61, 255, 0.28);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
}

.votes-section {
  margin-top: 32px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 42px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(8, 18, 32, 0.72);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.poll-grid {
  display: grid;
  grid-template-columns: repeat(3, 391px);
  gap: 14px;
}

.poll-card {
  height: 197px;
  display: grid;
  grid-template-columns: 181px 1fr;
  gap: 21px;
  border-radius: 8px;
  padding: 14px;
}

.top-vote-card {
  color: inherit;
  overflow: hidden;
}

.top-vote-card:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.thumb {
  position: relative;
  width: 181px;
  height: 170px;
  overflow: hidden;
  border-radius: 5px;
  background-image: url("assets/Homepage-templateV2.png");
  background-repeat: no-repeat;
  background-size: 1366px 1152px;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
  background-color: rgba(1, 7, 17, 0.82);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.thumb-one {
  background-position: -100px -871px;
}

.thumb-two {
  background-position: -506px -871px;
}

.thumb-three {
  background-position: -911px -871px;
}

.rank {
  position: absolute;
  top: 0;
  left: 0;
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: linear-gradient(180deg, #884eff 0%, #7137e5 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.time {
  display: none;
}

.poll-content {
  padding-top: 8px;
}

.poll-content h3 {
  width: 147px;
  min-height: 45px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 900;
}

.result-row {
  display: grid;
  grid-template-columns: 48px 54px 34px;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.poll-card:nth-child(2) .result-row {
  grid-template-columns: 72px 30px 34px;
  gap: 7px;
  font-size: 12px;
}

.top-vote-card:nth-child(2) .result-row {
  grid-template-columns: 48px 54px 34px;
  gap: 8px;
  font-size: 13px;
}

.result-row i {
  position: relative;
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(112, 127, 156, 0.28);
}

.result-row i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--value) * 1%);
  border-radius: inherit;
  background: var(--purple);
}

.result-row.alt i::before {
  background: var(--pink);
}

.result-row strong {
  font-size: 14px;
  text-align: right;
}

.poll-content p {
  margin: 23px 0 0;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.top-votes-message {
  grid-column: 1 / -1;
}

.recent-section {
  margin-top: 44px;
  padding-bottom: 28px;
}

.recent-submissions-grid {
  display: grid;
  grid-template-columns: repeat(3, 391px);
  gap: 14px;
}

.recent-card {
  overflow: hidden;
  color: inherit;
}

.recent-card:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.recent-thumb {
  width: 181px;
  height: 170px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(1, 7, 17, 0.82);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.recent-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.recent-content h3 {
  min-height: 45px;
  margin-bottom: 14px;
}

.recent-details {
  display: grid;
  gap: 9px;
}

.recent-detail span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-detail strong {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.recent-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(12, 29, 49, 0.58);
}

.empty-state-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(139, 77, 255, 0.18);
  color: var(--purple-text);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.empty-state h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.empty-state p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.empty-state-action {
  min-width: 148px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 7px;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.search-section {
  margin-top: 38px;
}

.search-heading {
  margin-bottom: 13px;
}

.poll-search-form {
  display: grid;
  grid-template-columns: 1fr 142px 96px;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

.poll-search-form input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(183, 192, 211, 0.58);
  border-radius: 7px;
  background: rgba(1, 7, 17, 0.82);
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 0 15px;
}

.poll-search-form input::placeholder {
  color: #7f8da3;
}

.poll-search-button {
  width: 142px;
  border: 0;
  cursor: pointer;
}

.poll-search-clear {
  width: 96px;
}

.search-results-grid {
  margin-bottom: 28px;
}

.leaderboard-page {
  padding: 42px 0 64px;
}

.leaderboard-header {
  margin-bottom: 32px;
}

.leaderboard-header h1 {
  margin: 0;
  color: #fff;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
}

.leaderboard-header p {
  width: 420px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.leaderboard-section {
  padding-bottom: 28px;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.leaderboard-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: 206px 1fr;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: var(--panel);
  color: inherit;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

.leaderboard-card:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.leaderboard-card-image {
  position: relative;
  overflow: hidden;
  background: rgba(1, 7, 17, 0.82);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.leaderboard-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.leaderboard-rank {
  position: absolute;
  top: 13px;
  left: 13px;
  min-width: 54px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(124, 61, 255, 0.24);
}

.leaderboard-card-content {
  padding: 20px;
}

.leaderboard-card-content h3 {
  min-height: 76px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
}

.leaderboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 20px;
}

.leaderboard-stat span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-stat strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.leaderboard-submitted {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.leaderboard-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
}

.trending-page {
  padding: 42px 0 64px;
}

.trending-header {
  margin-bottom: 32px;
}

.trending-header h1 {
  margin: 0;
  color: #fff;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 900;
}

.trending-header p {
  width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.trending-section {
  padding-bottom: 28px;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trending-pagination,
.leaderboard-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.trending-pagination[hidden],
.leaderboard-pagination[hidden] {
  display: none;
}

.trending-pagination-button,
.leaderboard-pagination-button {
  min-width: 42px;
  height: 38px;
  border: 1px solid var(--panel-border);
  border-radius: 7px;
  background: rgba(8, 18, 32, 0.72);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  padding: 0 13px;
}

.trending-pagination-button.is-active,
.leaderboard-pagination-button.is-active {
  border-color: rgba(139, 77, 255, 0.54);
  background: rgba(139, 77, 255, 0.18);
  color: var(--purple-text);
}

.trending-pagination-button:disabled,
.leaderboard-pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.trending-card {
  min-height: 395px;
  display: grid;
  grid-template-rows: 206px 1fr;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: var(--panel);
  color: inherit;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

.trending-card:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.trending-card-image {
  position: relative;
  overflow: hidden;
  background: rgba(1, 7, 17, 0.82);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.trending-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.trending-rank {
  position: absolute;
  top: 13px;
  left: 13px;
  min-width: 54px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(124, 61, 255, 0.24);
}

.trending-card-content {
  padding: 20px;
}

.trending-card-content h3 {
  min-height: 57px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
}

.trending-stats {
  display: grid;
  gap: 13px;
}

.trending-stat span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.trending-stat strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.trending-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
}

.site-footer {
  width: var(--site-shell-width);
  margin: 4px auto 0;
  padding-bottom: 31px;
}

.poll-page {
  padding: 48px 0 64px;
}

.poll-detail-panel {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 34px;
  align-items: center;
  min-height: 470px;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  padding: 28px;
}

.poll-detail-media {
  width: 640px;
  height: 390px;
  overflow: hidden;
  border: 1px solid rgba(183, 192, 211, 0.58);
  border-radius: 8px;
  background: rgba(1, 7, 17, 0.82);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.poll-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.poll-detail-youtube iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.poll-detail-video {
  padding: 28px;
}

.poll-detail-video .video-link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.poll-detail-video a {
  color: #fff;
  font-weight: 900;
}

.poll-detail-content h1 {
  margin: 0 0 26px;
  color: #fff;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 900;
}

.poll-detail-meta {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.poll-detail-meta-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.poll-detail-meta-item strong {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.poll-vote-form {
  margin-bottom: 28px;
}

.poll-vote-fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.poll-vote-fieldset legend {
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.poll-vote-options {
  display: flex;
  gap: 12px;
}

.poll-vote-option {
  min-width: 112px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--panel-border);
  border-radius: 7px;
  background: rgba(1, 7, 17, 0.48);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.poll-vote-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--purple);
}

.poll-vote-button {
  border: 0;
  cursor: pointer;
}

.poll-vote-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.poll-vote-feedback {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.poll-vote-feedback[data-type="success"] {
  color: #fff;
}

.poll-vote-feedback[data-type="error"] {
  color: #ff8fae;
}

.poll-results-panel {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: rgba(1, 7, 17, 0.38);
}

.poll-results-panel h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.poll-result-row + .poll-result-row {
  margin-top: 16px;
}

.poll-result-summary {
  display: grid;
  grid-template-columns: 1fr 48px 78px;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.poll-result-summary strong {
  text-align: right;
}

.poll-result-summary span:last-child {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.poll-result-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(112, 127, 156, 0.28);
}

.poll-result-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--purple);
  transition: width 180ms ease;
}

.poll-result-row-no .poll-result-bar span {
  background: var(--pink);
}

.poll-result-total {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.poll-back-link {
  width: 178px;
}

.poll-detail-message {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
}

.footer-inner {
  min-height: 154px;
  display: grid;
  grid-template-columns: 390px 1fr 190px;
  align-items: center;
  gap: 32px;
  padding: 26px 28px;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: rgba(8, 22, 39, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.footer-brand .brand {
  font-size: 21px;
}

.footer-brand .brand-icon,
.footer-brand .brand-icon img {
  width: 34px;
  height: 34px;
}

.footer-brand p {
  width: 335px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.footer-links h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.footer-links a {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.footer-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-meta a {
  color: #f0f2fa;
}

.suggestion-panel {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 260ms ease, margin-top 260ms ease, opacity 180ms ease;
}

.suggestion-panel.is-open {
  max-height: 620px;
  margin-top: 39px;
  opacity: 1;
  pointer-events: auto;
}

.suggestion-panel.is-open.is-success {
  max-height: 310px;
}

.suggestion-content {
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  min-height: 506px;
  padding: 24px 26px;
  position: relative;
}

.suggestion-content.is-success {
  min-height: 253px;
  display: flex;
}

.suggestion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.suggestion-content.is-success .suggestion-head {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 2;
  margin-bottom: 0;
}

.suggestion-content.is-success .suggestion-head > div {
  display: none;
}

.suggestion-head h2,
.suggestion-success h2 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.suggestion-head p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.suggestion-close,
.cancel-button {
  height: 41px;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: rgba(8, 18, 32, 0.72);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.suggestion-close {
  width: 78px;
}

.suggestion-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 220ms ease;
}

.suggestion-form.is-exiting {
  opacity: 0;
  transform: translateY(-18px);
}

.form-field {
  min-width: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.display-name-field {
  grid-column: 2;
  grid-row: 4;
}

.form-field label,
.form-field legend {
  display: block;
  margin: 0 0 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.char-counter,
.file-name {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-field input[type="text"],
.form-field input[type="url"],
.form-field select {
  width: 100%;
  height: 41px;
  border: 1px solid rgba(183, 192, 211, 0.58);
  border-radius: 5px;
  background: rgba(1, 7, 17, 0.82);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 0 14px;
}

.form-field input::placeholder {
  color: #7f8da3;
}

.media-field {
  border: 0;
  padding: 0;
  margin: 0;
}

.media-options {
  display: flex;
  gap: 12px;
}

.media-options label {
  margin: 0;
  cursor: pointer;
}

.media-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.media-options span {
  height: 41px;
  min-width: 129px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  background: rgba(8, 18, 32, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.media-options input:checked + span {
  border-color: rgba(139, 77, 255, 0.6);
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(124, 61, 255, 0.24);
}

.image-input input[type="file"] {
  width: 100%;
  height: 41px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
}

.field-error {
  min-height: 17px;
  margin: 7px 0 0;
  color: #ff7aa8;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.field-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.form-actions {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 0;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
}

.cancel-button {
  width: 96px;
}

.suggestion-success {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 1;
  transition: opacity 180ms ease;
}

.suggestion-content.is-success .suggestion-success {
  flex: 1 1 auto;
}

.suggestion-success.is-entering {
  opacity: 0;
}

.success-icon {
  position: relative;
  top: 18px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  box-shadow: 0 12px 26px rgba(124, 61, 255, 0.28);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.success-message {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.suggestion-success p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.suggestion-success p:first-of-type {
  color: #fff;
  font-weight: 900;
}

.suggestion-form[hidden],
.suggestion-success[hidden],
.media-input[hidden] {
  display: none;
}

body.privacy-page {
  min-width: 0;
  background:
    radial-gradient(circle at 18% 9%, rgba(139, 77, 255, 0.16), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(44, 145, 255, 0.08), transparent 30%),
    #06101d;
}

.legal-page {
  width: var(--site-shell-width);
  margin: 0 auto;
  padding: 64px 0 24px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 56px;
  margin-bottom: 44px;
}

.legal-hero-copy {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 26px;
  align-items: start;
}

.legal-hero-icon,
.legal-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-text);
  filter: drop-shadow(0 0 18px rgba(139, 77, 255, 0.55));
}

.legal-hero-icon {
  width: 66px;
  height: 66px;
}

.legal-hero-icon svg,
.legal-panel-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.legal-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: #d7deec;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.legal-updated::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--purple);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(139, 77, 255, 0.45);
}

.legal-promise-card,
.legal-panel,
.legal-contact-card {
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: rgba(12, 29, 49, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.legal-promise-card {
  padding: 20px 22px 18px;
}

.legal-promise-card h2 {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
}

.promise-title-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--purple-text);
  filter: drop-shadow(0 0 12px rgba(139, 77, 255, 0.55));
}

.promise-title-icon svg,
.promise-point-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.legal-promise-card p {
  margin: 13px 0 0 37px;
  color: #d7deec;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.promise-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.promise-point {
  display: grid;
  justify-items: center;
  gap: 13px;
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.promise-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(180deg, #884eff 0%, #742fea 100%);
  box-shadow: 0 12px 25px rgba(124, 61, 255, 0.32);
  color: #fff;
  padding: 12px;
}

.legal-sections {
  display: grid;
  gap: 8px;
}

.legal-panel {
  overflow: hidden;
}

.legal-panel summary {
  display: grid;
  grid-template-columns: 74px 1fr 24px;
  gap: 24px;
  align-items: center;
  min-height: 105px;
  padding: 20px 28px;
  cursor: pointer;
  list-style: none;
}

.legal-panel summary::-webkit-details-marker {
  display: none;
}

.legal-panel summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.legal-panel[open] summary::after {
  transform: rotate(225deg);
}

.legal-panel summary:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -4px;
}

.legal-panel-icon {
  width: 46px;
  height: 46px;
}

.legal-panel strong {
  display: block;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
}

.legal-panel em {
  display: block;
  margin-top: 8px;
  color: #d7deec;
  font-size: 14px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 600;
}

.legal-panel-body {
  padding: 0 28px 24px 126px;
}

.legal-panel-body p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 650;
}

.legal-panel-body p + p {
  margin-top: 14px;
}

.user-content-panel {
  border-color: rgba(139, 77, 255, 0.32);
  background: linear-gradient(180deg, rgba(25, 34, 64, 0.82), rgba(12, 29, 49, 0.78));
}

.legal-contact-card {
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 24px;
  margin-top: 29px;
  padding: 24px 28px;
  border-color: rgba(139, 77, 255, 0.36);
}

.legal-contact-card h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.legal-contact-card p {
  margin: 8px 0 0;
  color: #d7deec;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

.legal-contact-card .button {
  width: 137px;
}

.privacy-page .site-footer {
  margin-top: 0;
}

.terms-page .legal-page {
  padding-top: 56px;
}

.terms-page .legal-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  gap: 58px;
  margin-bottom: 26px;
}

.terms-page .legal-hero-copy {
  align-items: center;
}

.terms-page .legal-promise-card {
  padding: 22px 22px 18px;
}

.terms-page .legal-promise-card p {
  max-width: 330px;
}

.terms-page .legal-sections {
  gap: 6px;
}

.terms-page .legal-panel summary {
  min-height: 77px;
  padding-block: 15px;
}

.terms-page .legal-panel-body {
  padding-bottom: 18px;
}

.terms-page .legal-contact-card {
  margin-top: 16px;
}

.guidelines-page .legal-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  gap: 58px;
  margin-bottom: 44px;
}

.guidelines-page .legal-hero-copy {
  align-items: center;
}

.guidelines-page .legal-promise-card {
  padding: 22px 22px 18px;
}

.guidelines-page .legal-promise-card p {
  max-width: 370px;
}

.guidelines-page .legal-sections {
  gap: 8px;
}

.guidelines-page .legal-panel summary {
  min-height: 109px;
}

.guidelines-page .legal-contact-card {
  margin-top: 24px;
}

.about-page .legal-page {
  padding-top: 56px;
}

.about-page .legal-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  gap: 58px;
  margin-bottom: 48px;
}

.about-page .legal-hero-copy {
  align-items: center;
}

.about-page .legal-promise-card {
  padding: 22px 22px 18px;
}

.about-page .legal-promise-card p {
  max-width: 370px;
}

.about-page .about-card-list {
  display: grid;
  gap: 10px;
}

.about-page .about-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 26px;
  min-height: 105px;
  padding: 23px 32px;
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: rgba(12, 29, 49, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.about-page .about-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--purple-text);
  filter: drop-shadow(0 0 13px rgba(139, 77, 255, 0.56));
}

.about-page .about-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.about-page .about-card h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.about-page .about-card p,
.about-page .about-card li {
  color: #d7deec;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.about-page .about-card p {
  margin: 8px 0 0;
}

.about-page .about-card ul {
  margin: 8px 0 0;
  padding-left: 17px;
}

.about-page .legal-contact-card {
  margin-top: 24px;
}

.contact-page .legal-page {
  padding-top: 58px;
}

.contact-page .legal-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  gap: 58px;
  margin-bottom: 36px;
}

.contact-page .legal-hero-copy {
  align-items: center;
}

.contact-page .legal-promise-card {
  padding: 22px 22px 18px;
}

.contact-page .legal-promise-card p {
  max-width: 370px;
}

.contact-page .contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 16px;
  margin-top: 34px;
}

.contact-page .contact-info-card,
.contact-page .contact-form-card {
  border: 1px solid var(--panel-border);
  border-radius: 9px;
  background: rgba(12, 29, 49, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.contact-page .contact-info-card {
  padding: 42px 34px 44px;
}

.contact-page .contact-info-intro,
.contact-page .contact-info-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
}

.contact-page .contact-info-item {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(127, 153, 198, 0.14);
}

.contact-page .contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--purple-text);
  filter: drop-shadow(0 0 13px rgba(139, 77, 255, 0.56));
}

.contact-page .contact-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-page .contact-info-card h2,
.contact-page .contact-info-card h3 {
  margin: 0;
  color: #fff;
  line-height: 1.25;
  font-weight: 900;
}

.contact-page .contact-info-card h2 {
  font-size: 24px;
}

.contact-page .contact-info-card h3 {
  font-size: 17px;
}

.contact-page .contact-info-card p {
  margin: 15px 0 0;
  color: #f7f8ff;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
}

.contact-page .contact-info-card h3 + p {
  margin-top: 8px;
}

.contact-page .contact-form-card {
  padding: 36px 28px 42px;
}

.contact-page .contact-form {
  display: grid;
  gap: 18px;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(127, 153, 198, 0.24);
  border-radius: 8px;
  background: rgba(7, 19, 36, 0.42);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  outline: none;
}

.contact-page .contact-form input {
  height: 72px;
  padding: 0 20px;
}

.contact-page .contact-form textarea {
  min-height: 260px;
  resize: vertical;
  padding: 24px 20px;
}

.contact-page .contact-form input::placeholder,
.contact-page .contact-form textarea::placeholder {
  color: #f7f8ff;
  opacity: 1;
}

.contact-page .contact-form input:focus-visible,
.contact-page .contact-form textarea:focus-visible {
  border-color: rgba(139, 77, 255, 0.66);
  box-shadow: 0 0 0 2px rgba(139, 77, 255, 0.18);
}

.contact-page .contact-submit-button {
  justify-self: center;
  width: 248px;
  margin-top: 12px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.contact-page .contact-form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  font-weight: 700;
}

.contact-page .contact-privacy-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 430px;
  margin: 12px auto 0;
  color: #d7deec;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

.contact-page .contact-privacy-note span {
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--muted);
  flex: 0 0 auto;
}

.contact-page .contact-privacy-note svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.main-nav a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--purple-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.poll-search-form input:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.contact-page .contact-form input:focus-visible,
.contact-page .contact-form textarea:focus-visible {
  outline: 2px solid #f7f8ff;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(139, 77, 255, 0.42);
}

.media-options input:focus-visible + span {
  outline: 2px solid #f7f8ff;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(139, 77, 255, 0.42);
}

.how-it-works-page {
  min-width: 0;
  background:
    radial-gradient(circle at 18% 9%, rgba(139, 77, 255, 0.16), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(44, 145, 255, 0.08), transparent 30%),
    #06101d;
}

.how-it-works-page main {
  padding: 56px 0 50px;
}

.how-it-works-panel {
  border: 1px solid rgba(127, 153, 198, 0.36);
  border-radius: 12px;
  background: rgba(12, 29, 49, 0.78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  padding: 30px 72px 62px;
}

.how-it-works-panel h1 {
  margin: 0 0 32px;
  color: #fff;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
}

.how-it-works-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 72px;
  align-items: center;
}

.how-it-works-row + .how-it-works-row {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(127, 153, 198, 0.18);
}

.how-it-works-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: rgba(45, 59, 103, 0.38);
  color: var(--purple-text);
}

.how-it-works-icon svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 13px rgba(139, 77, 255, 0.42));
}

.how-it-works-row p {
  margin: 0;
  color: #f7f8ff;
  font-size: 21px;
  line-height: 1.68;
  font-weight: 500;
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
  }

  .site-header {
    height: auto;
  }

  .site-header-inner {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0;
  }

  .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding-left: 0;
  }

  .header-button {
    justify-self: start;
  }

  main,
  .site-footer {
    width: min(100% - 32px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 26px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero p {
    width: auto;
    margin-bottom: 28px;
  }

  .featured-poll {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .featured-overlay h2,
  .featured-results {
    width: 100%;
  }

  .featured-result {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .info-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps-panel,
  .share-panel {
    height: auto;
  }

  .share-panel p {
    width: auto;
  }

  .copy-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .poll-grid,
  .recent-submissions-grid,
  .leaderboard-grid,
  .trending-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .leaderboard-header p,
  .trending-header p {
    width: auto;
  }

  .poll-detail-panel {
    grid-template-columns: 1fr;
  }

  .poll-detail-media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .poll-vote-options,
  .hero-actions,
  .media-options,
  .form-actions {
    flex-wrap: wrap;
  }

  .suggestion-panel.is-open {
    max-height: none;
  }

  .suggestion-content {
    min-height: 0;
  }

  .suggestion-form {
    grid-template-columns: 1fr;
  }

  .display-name-field,
  .form-actions {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-self: start;
  }

  .footer-brand p {
    width: auto;
  }

  .privacy-page .site-header {
    height: auto;
  }

  .privacy-page .site-header-inner {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0;
  }

  .privacy-page .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding-left: 0;
  }

  .privacy-page .header-button {
    justify-self: start;
  }

  .legal-page {
    width: min(100% - 32px, 680px);
    padding-top: 42px;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .promise-points {
    grid-template-columns: 1fr;
  }

  .legal-panel summary {
    grid-template-columns: 48px 1fr 20px;
    gap: 16px;
    padding: 18px;
  }

  .legal-panel-icon {
    width: 38px;
    height: 38px;
  }

  .legal-panel-body {
    padding: 0 18px 22px;
  }

  .legal-contact-card {
    grid-template-columns: 1fr;
  }

  .privacy-page .site-footer {
    width: min(100% - 32px, 680px);
  }

  .terms-page .legal-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guidelines-page .legal-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-page .legal-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-page .legal-hero,
  .contact-page .contact-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .privacy-page .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .privacy-page .footer-links {
    justify-content: flex-start;
  }

  .privacy-page .footer-meta {
    justify-self: start;
  }

  .how-it-works-page .site-header {
    height: auto;
  }

  .how-it-works-page .site-header-inner {
    width: min(100% - 32px, 680px);
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0;
  }

  .how-it-works-page .main-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding-left: 0;
  }

  .how-it-works-page .header-button {
    justify-self: start;
  }

  .how-it-works-page main,
  .how-it-works-page .site-footer {
    width: min(100% - 32px, 680px);
  }

  .how-it-works-panel {
    padding: 26px 28px 42px;
  }

  .how-it-works-panel h1 {
    font-size: 42px;
  }

  .how-it-works-row {
    grid-template-columns: 104px 1fr;
    gap: 28px;
  }

  .how-it-works-icon {
    width: 104px;
    height: 104px;
  }

  .how-it-works-icon svg {
    width: 56px;
    height: 56px;
  }

  .how-it-works-row p {
    font-size: 17px;
  }

  .how-it-works-page .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .how-it-works-page .footer-links {
    justify-content: flex-start;
  }

  .how-it-works-page .footer-meta {
    justify-self: start;
  }
}

@media (min-width: 901px) and (max-width: 1179px) {
  body {
    min-width: 0;
  }

  .site-header-inner,
  main,
  .site-footer,
  .legal-page,
  .privacy-page .site-footer,
  .how-it-works-page main,
  .how-it-works-page .site-footer {
    width: min(100% - 32px, 1024px);
  }

  .site-header-inner {
    grid-template-columns: 220px 1fr 160px;
  }

  .main-nav {
    gap: 24px;
    padding-left: 0;
  }

  .hero {
    grid-template-columns: minmax(310px, 0.42fr) minmax(0, 1fr);
    gap: 32px;
  }

  .featured-poll {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .steps-panel,
  .share-panel {
    height: auto;
  }

  .share-panel p {
    width: auto;
  }

  .copy-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .poll-grid,
  .recent-submissions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poll-detail-panel {
    grid-template-columns: minmax(0, 0.58fr) minmax(0, 0.42fr);
  }

  .poll-detail-media {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .featured-poll {
    aspect-ratio: auto;
    min-height: 430px;
  }

  .featured-image,
  .featured-media-placeholder {
    position: absolute;
    inset: 0;
  }

  .featured-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 18px;
  }

  .featured-badge {
    width: fit-content;
    margin-bottom: 18px;
  }

  .featured-overlay h2 {
    min-height: 0;
    margin-bottom: 20px;
    font-size: 23px;
    line-height: 1.34;
  }

  .featured-results {
    gap: 14px;
  }

  .featured-result {
    grid-template-columns: minmax(58px, auto) minmax(0, 1fr) auto;
    gap: 10px;
    font-size: 16px;
  }

  .featured-result strong {
    font-size: 20px;
  }

  .featured-total {
    margin-top: 20px;
    font-size: 16px;
  }

  .poll-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poll-search-form input {
    grid-column: 1 / -1;
  }

  .poll-search-button,
  .poll-search-clear {
    width: 100%;
    min-height: 46px;
  }

  .poll-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .thumb,
  .recent-thumb {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .suggestion-head {
    flex-direction: column;
  }

  .suggestion-close,
  .cancel-button,
  .form-actions .button {
    width: 100%;
  }

  .media-options span {
    min-width: 0;
    padding: 0 14px;
  }

  .poll-result-summary {
    grid-template-columns: 1fr auto;
  }

  .poll-result-summary span:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

  .legal-hero-copy {
    grid-template-columns: 1fr;
  }

  .about-page .about-card {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px 18px;
  }

  .contact-page .contact-info-card,
  .contact-page .contact-form-card {
    padding: 28px 18px 32px;
  }

  .contact-page .contact-info-intro,
  .contact-page .contact-info-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-page .contact-form input {
    height: 60px;
  }

  .contact-page .contact-form textarea {
    min-height: 220px;
  }

  .contact-page .contact-submit-button {
    width: 100%;
  }

  .legal-hero h1 {
    font-size: 39px;
  }

  .legal-hero p {
    font-size: 17px;
  }

  .legal-panel summary {
    grid-template-columns: 1fr 18px;
  }

  .legal-panel-icon {
    display: none;
  }

  .privacy-page .footer-brand p {
    width: auto;
  }

  .how-it-works-panel {
    padding: 24px 22px 38px;
  }

  .how-it-works-panel h1 {
    font-size: 38px;
  }

  .how-it-works-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
  }

  .how-it-works-row p {
    font-size: 16px;
  }

  .how-it-works-page .footer-brand p {
    width: auto;
  }
}
