:root {
  --background: #f1f3f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #172033;
  --muted: #667085;
  --border: #d9dee8;

  --primary: #183b70;
  --primary-dark: #10284d;
  --primary-soft: #eaf1fb;

  --current: #0f7a4f;
  --current-soft: #e8f7f0;

  --reform: #b54708;
  --reform-soft: #fff2e6;

  --evm-body: #dfe3e8;
  --evm-dark: #444c55;
  --evm-screen: #d9edbd;

  --success: #067647;
  --error: #b42318;

  --shadow:
    0 20px 55px rgba(15, 23, 42, 0.12);

  --strong-shadow:
    0 30px 80px rgba(15, 23, 42, 0.18);

  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow-container {
  width: min(760px, calc(100% - 36px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(217, 222, 232, 0.92);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-subtitle {
  padding-left: 14px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.header-button {
  padding: 11px 19px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(24, 59, 112, 0.22);
}

.header-button:hover {
  background: var(--primary-dark);
}

/* Top Live Results */

.live-results-banner {
  position: relative;
  overflow: hidden;
  padding: 54px 0 44px;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(80, 123, 191, 0.34),
      transparent 36%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(197, 99, 33, 0.26),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #0d2344 0%,
      #163d73 52%,
      #102b53 100%
    );
  color: #ffffff;
}

.live-results-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.25) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.25) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
}

.live-results-banner .container {
  position: relative;
  z-index: 1;
}

.live-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #41e58c;
  box-shadow:
    0 0 0 5px rgba(65, 229, 140, 0.14),
    0 0 18px rgba(65, 229, 140, 0.85);
  animation: livePulse 1.6s infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

.live-title-row h1 {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.total-votes-highlight {
  min-width: 190px;
  padding: 19px 25px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 35px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.total-votes-highlight span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.total-votes-highlight strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
}

.top-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.top-result-card {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 20px 45px rgba(0, 0, 0, 0.18);
}

.current-result-card {
  background:
    linear-gradient(
      135deg,
      rgba(17, 125, 82, 0.58),
      rgba(10, 66, 48, 0.7)
    );
}

.reform-result-card {
  background:
    linear-gradient(
      135deg,
      rgba(190, 81, 14, 0.59),
      rgba(110, 48, 10, 0.74)
    );
}

.top-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.result-number {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-result-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
}

.top-result-header > strong {
  color: #ffffff;
  font-size: 35px;
  line-height: 1;
}

.top-result-card p {
  min-height: 50px;
  margin: 14px 0 19px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  transition: width 0.5s ease;
}

.current-fill {
  background: #63e6a7;
}

.reform-fill {
  background: #ffbe7d;
}

.vote-count {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.live-update-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  text-align: center;
}

/* Two Column Layout */

.main-content-section {
  padding: 70px 0 82px;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
  align-items: start;
  gap: 38px;
}

.voting-column {
  position: sticky;
  top: 98px;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* EVM Machine */

.evm-machine {
  overflow: hidden;
  border: 4px solid #4a5158;
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      #edf0f3,
      #c9ced4
    );
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.85),
    inset 0 -4px 0 rgba(0, 0, 0, 0.09),
    var(--strong-shadow);
}

.evm-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  border-bottom: 3px solid #565f68;
  background:
    linear-gradient(
      180deg,
      #69727b,
      #434a52
    );
  color: #ffffff;
}

.evm-top-bar strong {
  display: block;
  font-size: 15px;
}

.evm-brand {
  display: block;
  color: #cdd9e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.evm-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eaf3ed;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-light {
  width: 11px;
  height: 11px;
  border: 2px solid #9de1b9;
  border-radius: 50%;
  background: #28c76f;
  box-shadow:
    0 0 0 4px rgba(40, 199, 111, 0.12),
    0 0 15px rgba(40, 199, 111, 0.8);
}

.evm-screen {
  margin: 20px 20px 16px;
  padding: 20px;
  border: 4px solid #565d63;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(37, 65, 33, 0.04),
      rgba(37, 65, 33, 0.04) 1px,
      transparent 1px,
      transparent 3px
    ),
    var(--evm-screen);
  color: #1d3421;
  box-shadow:
    inset 0 0 18px rgba(23, 49, 25, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.65);
  text-align: center;
}

.evm-screen span {
  display: block;
  font-family: monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.evm-screen strong {
  display: block;
  margin: 7px 0 4px;
  font-size: 19px;
  line-height: 1.3;
}

.evm-screen small {
  display: block;
  font-size: 12px;
}

.evm-options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 20px 18px;
  border: 0;
}

.evm-option {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr 55px;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 12px;
  border: 2px solid #929aa2;
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #ebedf0
    );
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 4px 8px rgba(0, 0, 0, 0.11);
  cursor: pointer;
  transition: 0.2s ease;
}

.evm-option:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.evm-option:has(input:checked) {
  border-color: #173e73;
  background:
    linear-gradient(
      180deg,
      #f1f6fd,
      #dce8f7
    );
  box-shadow:
    0 0 0 4px rgba(24, 59, 112, 0.13),
    0 5px 14px rgba(0, 0, 0, 0.13);
}

.evm-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.evm-option-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #5f6871;
  border-radius: 6px;
  background: #717b85;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.evm-option-content strong,
.evm-option-content small {
  display: block;
}

.evm-option-content strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.35;
}

.evm-option-content small {
  margin-top: 4px;
  color: #697586;
  font-size: 11px;
  line-height: 1.4;
}

.evm-vote-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid #5e666d;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #aeb5bc,
      #747d86
    );
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.38),
    0 4px 7px rgba(0, 0, 0, 0.22);
}

.evm-vote-button span {
  width: 29px;
  height: 29px;
  border: 3px solid #27344a;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      #4e87d7,
      #173e73 70%
    );
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.12);
}

.evm-option input:checked ~ .evm-vote-button span {
  background:
    radial-gradient(
      circle at 35% 30%,
      #65df96,
      #08763c 72%
    );
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    0 0 12px rgba(20, 178, 93, 0.7);
}

.evm-form-panel {
  margin: 0 20px 20px;
  padding: 20px;
  border: 2px solid #8c949c;
  border-radius: 12px;
  background: #f8f9fa;
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.06),
    0 2px 0 rgba(255, 255, 255, 0.7);
}

.evm-form-title {
  margin-bottom: 16px;
  padding-bottom: 9px;
  border-bottom: 1px dashed #aab1b8;
  color: #3e4750;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 14px;
}

.form-field {
  margin-bottom: 17px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #aeb6c0;
  border-radius: 9px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  transition: 0.2s ease;
}

.form-field input,
.form-field select {
  min-height: 47px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px rgba(24, 59, 112, 0.11);
}

.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 3px 0 18px;
  color: #5f6875;
  font-size: 12px;
}

.consent-field input {
  margin-top: 4px;
}

.evm-submit-button {
  display: flex;
  width: 100%;
  min-height: 53px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 3px solid #102a50;
  border-radius: 9px;
  background:
    linear-gradient(
      180deg,
      #28538d,
      #17365f
    );
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.19),
    0 5px 0 #0c203c,
    0 10px 20px rgba(24, 59, 112, 0.23);
  transition: 0.15s ease;
}

.evm-submit-button:hover {
  transform: translateY(-1px);
}

.evm-submit-button:active {
  transform: translateY(4px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.14),
    0 1px 0 #0c203c;
}

.evm-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-light {
  width: 12px;
  height: 12px;
  border: 2px solid #c8efd9;
  border-radius: 50%;
  background: #32cf79;
  box-shadow:
    0 0 10px rgba(50, 207, 121, 0.8);
}

.evm-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 3px solid #565f68;
  background: #4a5158;
  color: #dce2e8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Right Content */

.information-column {
  display: grid;
  gap: 20px;
}

.content-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(24, 59, 112, 0.045);
}

.introduction-card {
  padding: 34px;
  border-top: 5px solid var(--primary);
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f3f7fc
    );
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-card h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.content-card h3 {
  margin: 8px 0 11px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.3;
}

.content-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 15px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.important-note {
  border-color: #f0c9aa;
  background:
    linear-gradient(
      145deg,
      #fffaf5,
      #fff3e8
    );
}

.important-note .eyebrow {
  color: var(--reform);
}

/* Comments */

.comment-section,
.public-comments {
  padding: 76px 0;
}

.comment-section {
  background: #eaf0f8;
}

.comment-panel {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.left-aligned {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.primary-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 11px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
}

.primary-button:hover {
  background: var(--primary-dark);
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 14px;
}

.form-message.success,
.form-message.error {
  display: block;
}

.form-message.success {
  background: #ecfdf3;
  color: var(--success);
}

.form-message.error {
  background: #fef3f2;
  color: var(--error);
}

.hidden {
  display: none;
}

.public-comments {
  background: #ffffff;
}

.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comment-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
}

.comment-meta {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.comment-card p {
  margin: 0;
  white-space: pre-wrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  padding: 42px 0;
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
  color: #cbd5e1;
}

.footer-note {
  font-size: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Tablet */

@media (max-width: 980px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .voting-column {
    position: static;
  }

  .information-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .introduction-card,
  .important-note {
    grid-column: 1 / -1;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .live-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .total-votes-highlight {
    width: 100%;
  }

  .top-results-grid,
  .information-column,
  .comments-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .main-content-section {
    padding: 50px 0 62px;
  }

  .evm-machine {
    border-width: 3px;
    border-radius: 19px;
  }

  .evm-top-bar {
    padding: 14px 16px;
  }

  .evm-screen {
    margin: 15px 14px 13px;
  }

  .evm-options {
    padding: 0 14px 14px;
  }

  .evm-form-panel {
    margin: 0 14px 15px;
    padding: 16px;
  }

  .content-card {
    padding: 24px;
  }

  .comment-panel {
    padding: 25px;
  }

}

@media (max-width: 500px) {
  .container,
  .narrow-container {
    width: min(100% - 22px, 1220px);
  }

  .header-inner {
    min-height: 66px;
  }

  .header-button {
    padding: 9px 13px;
    font-size: 12px;
  }

  .live-results-banner {
    padding: 38px 0 34px;
  }

  .live-title-row h1 {
    font-size: 33px;
  }

  .top-result-card {
    padding: 20px;
  }

  .top-result-header {
    gap: 10px;
  }

  .top-result-card h2 {
    font-size: 18px;
  }

  .top-result-header > strong {
    font-size: 29px;
  }

  .evm-option {
    grid-template-columns: 32px 1fr 45px;
    gap: 8px;
    padding: 10px 8px;
  }

  .evm-option-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .evm-vote-button {
    width: 44px;
    height: 44px;
  }

  .evm-vote-button span {
    width: 24px;
    height: 24px;
  }

  .evm-option-content strong {
    font-size: 12px;
  }

  .evm-option-content small {
    font-size: 10px;
  }

  .evm-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Duplicate Email OTP Modal */

body.modal-open {
  overflow: hidden;
}

.otp-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  padding: 20px;
  place-items: center;
}

.otp-modal.hidden {
  display: none;
}

.otp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 29, 0.78);
  backdrop-filter: blur(7px);
}

.otp-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 36px;
  border: 1px solid #d9dee8;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.36);
  text-align: center;
  animation: otpModalEnter 0.22s ease;
}

@keyframes otpModalEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.otp-close-button {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef1f5;
  color: #344054;
  font-size: 24px;
  line-height: 1;
}

.otp-close-button:hover {
  background: #e1e6ed;
}

.otp-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 19px;
  place-items: center;
  border: 5px solid #dbe7f7;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #28538d,
      #15345f
    );
  color: #ffffff;
  box-shadow:
    0 14px 30px rgba(24, 59, 112, 0.25);
}

.otp-icon span {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.otp-dialog h2 {
  margin: 0 0 11px;
  color: #172033;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.otp-dialog > p {
  margin: 0 0 18px;
  color: #667085;
  font-size: 14px;
}

.otp-email-display {
  margin-bottom: 18px;
  padding: 12px 15px;
  border: 1px dashed #a9b7c9;
  border-radius: 10px;
  background: #f3f7fc;
  color: #183b70;
  font-size: 15px;
  font-weight: 900;
  word-break: break-word;
}

.otp-request-button,
.otp-verify-button {
  width: 100%;
  min-height: 50px;
  border-radius: 10px;
  font-weight: 900;
  transition: 0.18s ease;
}

.otp-request-button {
  border: 2px solid #183b70;
  background: #ffffff;
  color: #183b70;
}

.otp-request-button:hover {
  background: #eaf1fb;
}

.otp-code-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e4e7ec;
  text-align: left;
}

.otp-code-section.hidden {
  display: none;
}

.otp-code-section label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 900;
}

.otp-code-section input {
  width: 100%;
  min-height: 58px;
  padding: 0 14px;
  border: 2px solid #aeb8c5;
  border-radius: 11px;
  outline: none;
  background: #ffffff;
  color: #172033;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-align: center;
}

.otp-code-section input:focus {
  border-color: #183b70;
  box-shadow:
    0 0 0 4px rgba(24, 59, 112, 0.11);
}

.otp-code-section small {
  display: block;
  margin: 8px 0 16px;
  color: #667085;
  font-size: 11px;
  text-align: center;
}

.otp-verify-button {
  border: 2px solid #10284d;
  background:
    linear-gradient(
      180deg,
      #28538d,
      #17365f
    );
  color: #ffffff;
  box-shadow:
    0 5px 0 #0c203c,
    0 10px 20px rgba(24, 59, 112, 0.2);
}

.otp-verify-button:hover {
  transform: translateY(-1px);
}

.otp-request-button:disabled,
.otp-verify-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.otp-dialog .form-message {
  text-align: left;
}

@media (max-width: 520px) {
  .otp-modal {
    padding: 12px;
  }

  .otp-dialog {
    padding: 30px 20px 24px;
    border-radius: 18px;
  }

  .otp-dialog h2 {
    font-size: 25px;
  }
}

/* Comments Load More */

.comments-load-more-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  text-align: center;
}

.comments-load-more-button {
  min-width: 220px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 900;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.comments-load-more-button:hover {
  transform: translateY(-2px);
  background: var(--primary-soft);
}

.comments-load-more-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.comments-loading-message {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* Desktop and Mobile Header */

.mobile-subtitle {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 94px;
  }

  .desktop-subtitle {
    display: none;
  }

  .mobile-subtitle {
    display: block;
    margin-top: 4px;
    padding-left: 0;
    border-left: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
  }

  .header-buttons {
    display: none;
  }

  .header-inner {
    min-height: 68px;
    justify-content: center;
  }

  .brand-wrapper {
    display: block;
    width: 100%;
    text-align: center;
  }

  .brand {
    display: block;
    font-size: 21px;
    line-height: 1.2;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 99999;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    min-height: 72px;
    overflow: hidden;

    border: 1px solid #d9dee8;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);

    box-shadow:
      0 14px 38px rgba(15, 23, 42, 0.24),
      0 3px 10px rgba(15, 23, 42, 0.12);

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-nav-item {
    position: relative;

    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;
    padding: 8px 4px;

    color: #667085;
    text-decoration: none;

    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;

    transition:
      background 0.2s ease,
      color 0.2s ease,
      transform 0.2s ease;
  }

  .mobile-nav-icon {
    display: block;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .mobile-nav-item:not(:last-child)::after {
    position: absolute;
    top: 14px;
    right: 0;
    bottom: 14px;
    width: 1px;
    background: #e4e7ec;
    content: "";
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    background: #eef4ff;
    color: var(--primary);
  }

  .mobile-nav-item.active {
    margin: 6px;
    border-radius: 14px;
    background: linear-gradient(135deg, #28538d, #183b70);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(24, 59, 112, 0.3);
  }

  .mobile-nav-item.active .mobile-nav-icon {
    transform: scale(1.1);
  }

  .mobile-nav-item.active::after {
    display: none;
  }

  #vote-section,
  #public-opinion {
    scroll-margin-top: 85px;
  }
}