:root {
  --accent: #f8db95;
  --accent-rgb: 248 219 149;
  --ink: #f5f8ff;
  --muted: rgba(203, 218, 251, 0.72);
  --line: rgba(177, 202, 255, 0.15);
  --panel: rgba(10, 24, 65, 0.66);
  --blue: #738adb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  background: #050b22;
}
button,
a,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.aurora {
  position: fixed;
  z-index: -3;
  width: 54vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.6;
  pointer-events: none;
  mix-blend-mode: screen;
}
.aurora-one {
  top: -24vw;
  left: -15vw;
  background: radial-gradient(
    circle,
    rgba(83, 143, 255, 0.52),
    rgba(31, 73, 197, 0.14) 46%,
    transparent 70%
  );
  animation: drift-one 15s ease-in-out infinite alternate;
}
.aurora-two {
  right: -18vw;
  top: 21vw;
  background: radial-gradient(
    circle,
    rgba(138, 86, 255, 0.34),
    rgba(31, 84, 202, 0.16) 48%,
    transparent 70%
  );
  animation: drift-two 19s ease-in-out infinite alternate;
}
.grid-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.45;
  pointer-events: none;
  background:
    linear-gradient(rgba(154, 191, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 191, 255, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, #08143c 55%, #030817 100%);
  background-size:
    58px 58px,
    58px 58px,
    100% 100%;
  mask-image: linear-gradient(
    180deg,
    black 0%,
    rgba(0, 0, 0, 0.3) 72%,
    transparent
  );
}
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.topbar {
  height: 82px;
  max-width: 1300px;
  padding: 0 34px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  font:
    700 16px Unbounded,
    sans-serif;
  letter-spacing: -1px;
}
.brand i {
  color: var(--accent);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 1.5px;
}
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 17px;
  transform: rotate(-8deg);
  transition: transform 0.25s;
}
.brand:hover .brand-mark {
  transform: rotate(8deg) scale(1.08);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.status-dot {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-dot i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86efac;
  margin-right: 6px;
  box-shadow: 0 0 10px #86efac;
  animation: pulse 1.8s ease-in-out infinite;
}
.discord-button {
  border: 1px solid rgba(191, 219, 254, 0.24);
  border-radius: 7px;
  padding: 11px 16px;
  color: #fff;
  background: linear-gradient(135deg, #738adb, #5865f2);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 9px 22px rgba(33, 47, 138, 0.32);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.discord-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 27px rgba(33, 47, 138, 0.5);
}
.hero {
  min-height: 565px;
  max-width: 1240px;
  margin: auto;
  padding: 92px 34px 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
}
.hero h1,
.section-heading h2,
.rules-section h2,
.modal-card h2 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-weight: 700;
  letter-spacing: -3px;
}
.hero h1 {
  font-size: clamp(37px, 5vw, 67px);
  line-height: 1.08;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.intro {
  width: min(430px, 100%);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 24px 0 14px;
}
.event-date {
  margin: 0 0 27px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.gold-button,
.submit-button,
.modal-confirm {
  border: 1px solid rgba(248, 219, 149, 0.62);
  background: linear-gradient(
    180deg,
    rgba(255, 242, 192, 0.98),
    rgba(248, 219, 149, 0.84)
  );
  color: #082032;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 26px rgba(248, 219, 149, 0.18);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.gold-button:hover,
.submit-button:not(:disabled):hover,
.modal-confirm:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(248, 219, 149, 0.28);
}
.gold-button {
  border-radius: 5px;
  padding: 14px 17px;
  font-size: 12px;
  display: inline-flex;
  gap: 25px;
  align-items: center;
}
.gold-button span {
  font-size: 17px;
}
.hero-emblem {
  width: 370px;
  height: 370px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.rays {
  position: absolute;
  inset: -25px;
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg 10deg,
    rgba(248, 219, 149, 0.075) 11deg 13deg,
    transparent 14deg 25deg
  );
  mask-image: radial-gradient(circle, black 10%, transparent 69%);
  animation: spin 44s linear infinite;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(248, 219, 149, 0.16);
  border-radius: 50%;
}
.orbit-one {
  inset: 14px 0;
  animation: spin 19s linear infinite;
}
.orbit-two {
  inset: 66px -8px;
  transform: rotateX(66deg);
  animation: spin-reverse 13s linear infinite;
}
.trophy {
  z-index: 1;
  width: 220px;
  height: 290px;
  transform: rotate(7deg);
  border: 1px solid var(--accent);
  background: linear-gradient(
    135deg,
    rgba(248, 219, 149, 0.16),
    rgba(20, 45, 100, 0.12)
  );
  box-shadow:
    0 0 65px rgba(248, 219, 149, 0.24),
    inset 0 0 45px rgba(248, 219, 149, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  animation: float 4.8s ease-in-out infinite;
}
.trophy:before,
.trophy:after {
  content: "";
  position: absolute;
  border: 1px solid var(--accent);
  opacity: 0.7;
}
.trophy:before {
  width: 224px;
  height: 174px;
  transform: rotate(45deg);
}
.trophy:after {
  width: 126px;
  height: 250px;
  transform: rotate(45deg);
}
.trophy span,
.trophy b,
.trophy small {
  z-index: 1;
}
.trophy span {
  font-size: 34px;
}
.trophy b {
  font:
    800 19px Unbounded,
    sans-serif;
  margin-top: 8px;
}
.trophy small {
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.5;
  margin-top: 7px;
}
.trophy img {
  position: relative;
  z-index: 1;
  width: 170px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}
.trophy figcaption {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  color: #fff1cf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.5;
}
.trophy figcaption small {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 2px;
}
.hero-emblem p {
  z-index: 1;
  position: absolute;
  bottom: 16px;
  font-size: 9px;
  letter-spacing: 3px;
}
.rules-section {
  max-width: 1170px;
  margin: 0 auto;
  padding: 39px 0;
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rule-number {
  font:
    600 28px Unbounded,
    sans-serif;
  color: var(--accent);
}
.rules-section h2 {
  font-size: 23px;
  line-height: 1.25;
}
.rules-section p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  margin: 0;
  max-width: 395px;
}
.ballot-section {
  max-width: 1170px;
  margin: auto;
  padding: 91px 0 110px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 29px;
}
.section-heading h2 {
  font-size: 34px;
}
.progress {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.progress > div {
  width: 190px;
  height: 4px;
  margin-top: 9px;
  background: rgba(191, 219, 254, 0.13);
  border-radius: 6px;
  overflow: hidden;
}
.progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  transition: width 0.35s ease;
}
.nomination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.nomination {
  min-height: 207px;
  padding: 21px;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(25, 54, 119, 0.7),
    rgba(7, 17, 46, 0.86)
  );
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
  position: relative;
  overflow: hidden;
  animation: card-in 0.5s both;
}
.nomination:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -112px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(129, 169, 255, 0.15),
    transparent 66%
  );
  transition: transform 0.35s;
}
.nomination:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 219, 149, 0.4);
  background: linear-gradient(
    145deg,
    rgba(30, 64, 137, 0.78),
    rgba(8, 18, 48, 0.92)
  );
  box-shadow: 0 17px 30px rgba(0, 0, 0, 0.18);
}
.nomination:hover:before {
  transform: scale(1.5);
}
.nomination.chosen {
  border-color: var(--accent);
  box-shadow:
    inset 0 0 0 1px rgba(248, 219, 149, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.18);
}
.nomination-index {
  display: block;
  color: rgba(248, 219, 149, 0.72);
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-bottom: 26px;
}
.nomination h3 {
  position: relative;
  z-index: 1;
  font:
    600 18px Unbounded,
    sans-serif;
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 0 0 7px;
}
.nomination p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  min-height: 32px;
}
.nomination-action {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 20px;
  padding: 10px 11px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(191, 219, 254, 0.19);
  background: rgba(214, 231, 255, 0.07);
  color: #e8f1ff;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.nomination-action span {
  color: var(--accent);
  font-size: 17px;
  line-height: 10px;
}
.nomination-action:hover {
  border-color: var(--accent);
  background: rgba(248, 219, 149, 0.12);
}
.chosen .nomination-action {
  border-color: rgba(248, 219, 149, 0.45);
  color: var(--accent);
}
.chosen .nomination-action span {
  color: var(--accent);
}
.submit-wrap {
  margin-top: 27px;
  padding: 21px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.submit-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.submit-wrap p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.submit-copy .discord-button {
  padding: 9px 13px;
}
.submit-button {
  padding: 14px 19px;
  border-radius: 4px;
  font-size: 12px;
}
.submit-button span {
  margin-left: 20px;
  font-size: 17px;
}
.submit-button:disabled {
  cursor: not-allowed;
  color: rgba(219, 238, 255, 0.42);
  background: linear-gradient(
    180deg,
    rgba(50, 68, 117, 0.7),
    rgba(18, 28, 63, 0.82)
  );
  border-color: rgba(248, 219, 149, 0.18);
  box-shadow: none;
}
footer {
  display: flex;
  justify-content: space-between;
  max-width: 1170px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 27px 0 36px;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: rgba(191, 219, 254, 0.62);
}
.toast {
  position: fixed;
  z-index: 20;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 120px);
  padding: 13px 18px;
  background: #f4fbff;
  color: #082032;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
}
.toast.show {
  transform: translate(-50%, 0);
}
.modal {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.24s,
    visibility 0.24s;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 24, 0.72);
  backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  width: min(100%, 570px);
  max-height: min(710px, calc(100vh - 40px));
  overflow: auto;
  padding: 38px;
  border: 1px solid rgba(248, 219, 149, 0.36);
  background: linear-gradient(
    145deg,
    rgba(22, 46, 105, 0.98),
    rgba(6, 15, 43, 0.99)
  );
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(80, 125, 247, 0.15);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s;
}
.modal.is-open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-card h2 {
  font-size: 28px;
  line-height: 1.25;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  transition:
    color 0.2s,
    transform 0.2s;
}
.modal-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}
.modal-lead {
  margin: 12px 0 23px;
  color: var(--muted);
  font-size: 13px;
}
.modal-candidates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.candidate {
  min-height: 82px;
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid rgba(191, 219, 254, 0.18);
  background: rgba(214, 231, 255, 0.06);
  color: #e8f1ff;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}
.candidate:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 219, 149, 0.55);
}
.candidate.selected {
  border-color: var(--accent);
  background: rgba(248, 219, 149, 0.14);
  color: var(--accent);
}
.candidate i {
  color: var(--accent);
  font-size: 15px;
  font-style: normal;
  opacity: 0;
}
.candidate.selected i {
  opacity: 1;
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 17px;
  color: rgba(203, 218, 251, 0.54);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.or-divider:before,
.or-divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.custom-label {
  display: block;
  margin-bottom: 8px;
  color: #dae8ff;
  font-size: 12px;
  font-weight: 700;
}
.custom-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(191, 219, 254, 0.24);
  color: #fff;
  background: rgba(3, 11, 34, 0.47);
  border-radius: 3px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.custom-input::placeholder {
  color: rgba(203, 218, 251, 0.42);
}
.custom-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(248, 219, 149, 0.12);
  outline: 0;
}
.modal-error {
  min-height: 17px;
  margin: 9px 0 0;
  color: #ffb4b4;
  font-size: 11px;
}
.modal-confirm {
  width: 100%;
  margin-top: 15px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  font-size: 12px;
}
.modal-confirm span {
  font-size: 17px;
}
.reveal {
  animation: reveal 0.7s both;
}
.rules-section.reveal {
  animation-delay: 0.12s;
}
.section-heading.reveal {
  animation-delay: 0.16s;
}
.submit-wrap.reveal {
  animation-delay: 0.15s;
}
@keyframes drift-one {
  to {
    transform: translate(17vw, 13vw) scale(1.16);
  }
}
@keyframes drift-two {
  to {
    transform: translate(-18vw, -13vw) scale(1.12);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin-reverse {
  to {
    transform: rotateX(66deg) rotate(-360deg);
  }
}
@keyframes float {
  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.48;
    box-shadow: 0 0 17px #86efac;
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 68px;
    padding: 0 18px;
  }
  .status-dot {
    display: none;
  }
  .discord-button {
    padding: 9px 10px;
    font-size: 10px;
  }
  .hero {
    min-height: 625px;
    padding: 62px 22px;
    align-items: flex-start;
  }
  .hero-emblem {
    width: 260px;
    height: 260px;
    position: absolute;
    right: -50px;
    bottom: 20px;
    opacity: 0.62;
  }
  .trophy {
    transform: rotate(7deg) scale(0.66);
  }
  .rules-section,
  .ballot-section,
  footer {
    margin-left: 22px;
    margin-right: 22px;
  }
  .rules-section {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .rules-section p {
    grid-column: 2;
  }
  .ballot-section {
    padding: 64px 0;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .progress > div {
    width: 115px;
  }
  .nomination-grid {
    grid-template-columns: 1fr;
  }
  .nomination {
    min-height: 177px;
  }
  .submit-wrap {
    display: block;
  }
  .submit-copy {
    margin-bottom: 15px;
  }
  .submit-button {
    width: 100%;
  }
  footer {
    gap: 16px;
    line-height: 1.6;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
  .modal {
    padding: 12px;
  }
  .modal-card {
    padding: 31px 20px 22px;
  }
  .modal-card h2 {
    font-size: 22px;
    letter-spacing: -2px;
  }
  .modal-candidates {
    grid-template-columns: 1fr;
  }
  .candidate {
    min-height: 54px;
    flex-direction: row;
    align-items: center;
  }
  .candidate i {
    font-size: 18px;
  }
}

/* Awards 2026 visual upgrade */
body {
  background: #03091e;
}
body:before {
  content: "";
  position: fixed;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 50% 38% at 90% 80%,
      rgba(104, 84, 255, 0.13),
      transparent 72%
    );
}
.aurora {
  filter: blur(55px);
  opacity: 0.72;
}
.aurora-one {
  top: -22vw;
  left: -15vw;
  opacity: 0.12;
}
.aurora-two {
  top: 26vw;
  right: -20vw;
}
.aurora-three {
  position: fixed;
  z-index: -3;
  pointer-events: none;
  width: 42vw;
  aspect-ratio: 1;
  left: 26vw;
  bottom: -27vw;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.45;
  background: radial-gradient(
    circle,
    rgba(13, 174, 214, 0.38),
    rgba(29, 70, 182, 0.14) 45%,
    transparent 72%
  );
  animation: drift-three 21s ease-in-out infinite alternate;
}
.grid-glow {
  opacity: 0.62;
  background:
    linear-gradient(rgba(146, 190, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 190, 255, 0.04) 1px, transparent 1px),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(6, 20, 60, 0.4) 55%,
      #030817 100%
    );
}
.star-field {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.47;
  background-image:
    radial-gradient(circle at 12% 16%, #fff 0 1px, transparent 1.7px),
    radial-gradient(circle at 78% 13%, #dce7ff 0 1px, transparent 1.6px),
    radial-gradient(circle at 35% 47%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 62%, #f8db95 0 1px, transparent 1.7px),
    radial-gradient(circle at 59% 83%, #c2d6ff 0 1px, transparent 1.5px);
  background-size:
    233px 277px,
    317px 261px,
    391px 331px,
    263px 349px,
    443px 389px;
  animation: twinkle 7s ease-in-out infinite alternate;
}
.cursor-star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #dcecff;
  box-shadow: 0 0 7px 2px rgba(84, 161, 255, 0.8);
  transform: translate3d(var(--push-x, 0), var(--push-y, 0), 0);
  transition: transform 460ms cubic-bezier(0.2, 0.75, 0.25, 1);
  will-change: transform;
}
.cursor-star:nth-child(3n) {
  width: 3px;
  height: 3px;
  background: #ffffff;
  box-shadow: 0 0 10px 3px rgba(70, 146, 255, 0.9);
}
.site-loader {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  background: #04091d;
  color: var(--accent);
  font:
    800 18px Unbounded,
    sans-serif;
  letter-spacing: 5px;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}
.site-loader i {
  width: 112px;
  height: 2px;
  overflow: hidden;
  background: rgba(248, 219, 149, 0.18);
}
.site-loader i:after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: var(--accent);
  animation: loader-line 0.85s ease-in-out infinite alternate;
}
.is-ready .site-loader {
  opacity: 0;
  visibility: hidden;
}
.topbar {
  position: relative;
  z-index: 3;
  border-color: rgba(193, 215, 255, 0.12);
  animation: topbar-in 0.7s both;
}
.hero {
  min-height: 620px;
  padding-top: 100px;
}
.hero-copy {
  animation-delay: 0.18s;
}
.hero-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(248, 219, 149, 0.27);
  background: rgba(12, 29, 76, 0.42);
  color: rgba(255, 235, 183, 0.94);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.35px;
  backdrop-filter: blur(8px);
}
.hero-pulse i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8effb3;
  box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.7);
  animation: signal 1.8s infinite;
}
.hero h1 {
  text-shadow: 0 6px 45px rgba(66, 128, 255, 0.17);
}
.gold-button {
  position: relative;
  overflow: hidden;
}
.gold-button:after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-23deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transition: transform 0.65s ease;
}
.gold-button:hover:after {
  transform: translateX(130%) skewX(-23deg);
}
.hero-emblem {
  filter: drop-shadow(0 0 32px rgba(80, 140, 255, 0.19));
}
.trophy {
  background: linear-gradient(
    135deg,
    rgba(255, 238, 183, 0.22),
    rgba(72, 116, 219, 0.1)
  );
}
.rules-section {
  position: relative;
  border-color: rgba(193, 215, 255, 0.18);
}
.ballot-section {
  padding-top: 104px;
}
.nomination-grid {
  display: block;
}
.nomination-group + .nomination-group {
  margin-top: 58px;
}
.group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.group-heading > span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(248, 219, 149, 0.36);
  color: var(--accent);
  background: rgba(248, 219, 149, 0.07);
  box-shadow: 0 0 22px rgba(248, 219, 149, 0.11);
}
.group-heading p {
  margin: 0 0 3px;
  color: rgba(248, 219, 149, 0.73);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.65px;
}
.group-heading h3 {
  margin: 0;
  font:
    600 16px Unbounded,
    sans-serif;
  letter-spacing: -1px;
}
.featured-grid,
.regular-grid {
  display: grid;
  gap: 15px;
}
.featured-grid {
  grid-template-columns: repeat(3, 1fr);
}
.regular-grid {
  grid-template-columns: repeat(3, 1fr);
}
.nomination {
  min-height: 180px;
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    rgba(24, 54, 126, 0.67),
    rgba(5, 14, 44, 0.86)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.nomination:after {
  content: "";
  position: absolute;
  inset: auto -15% -55% 30%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    ellipse,
    rgba(53, 134, 255, 0.14),
    transparent 68%
  );
  transition: transform 0.45s ease;
}
.nomination:hover:after {
  transform: translate(-22px, -18px);
}
.nomination-featured {
  min-height: 276px;
  padding: 27px;
  border-color: rgba(248, 219, 149, 0.31);
  background: linear-gradient(
    145deg,
    rgba(65, 74, 137, 0.67),
    rgba(12, 23, 63, 0.9)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.12);
}
.nomination-featured:before {
  width: 240px;
  height: 240px;
  background: radial-gradient(
    circle,
    rgba(248, 219, 149, 0.19),
    transparent 65%
  );
}
.nomination-featured h3 {
  max-width: 230px;
  font-size: 20px;
}
.nomination-featured .nomination-index {
  margin-bottom: 48px;
  color: var(--accent);
}
.nomination-featured .nomination-action {
  margin-top: 31px;
}
.nomination-action {
  border-radius: 5px;
}
.nomination-action span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chosen {
  border-color: var(--accent);
  background: linear-gradient(
    145deg,
    rgba(103, 83, 119, 0.64),
    rgba(25, 25, 60, 0.92)
  );
}
.candidate {
  min-height: 162px;
  padding: 16px;
  gap: 13px;
}
.candidate-avatar {
  position: relative;
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(248, 219, 149, 0.5);
  background: linear-gradient(135deg, #546ecc, #1c2c6e);
  box-shadow: 0 9px 22px rgba(4, 9, 43, 0.42);
  color: #f8db95;
  font:
    700 24px Unbounded,
    sans-serif;
}
.candidate-avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.candidate-name {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.35;
  font-size: 13px;
}
.candidate.selected .candidate-avatar {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(248, 219, 149, 0.12),
    0 11px 25px rgba(4, 9, 43, 0.5);
}
.candidate i {
  align-self: flex-end;
}
@keyframes drift-three {
  to {
    transform: translate(-12vw, -10vw) scale(1.24);
  }
}
@keyframes twinkle {
  50% {
    opacity: 0.25;
    transform: scale(1.08);
  }
}
@keyframes loader-line {
  to {
    transform: translateX(140%);
  }
}
@keyframes topbar-in {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes signal {
  70% {
    box-shadow: 0 0 0 8px rgba(134, 239, 172, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 239, 172, 0);
  }
}
@media (max-width: 760px) {
  .hero-pulse {
    margin-bottom: 15px;
  }
  .hero {
    min-height: 650px;
  }
  .featured-grid,
  .regular-grid {
    grid-template-columns: 1fr;
  }
  .nomination-featured {
    min-height: 221px;
  }
  .nomination-featured .nomination-index {
    margin-bottom: 28px;
  }
  .nomination-featured .nomination-action {
    margin-top: 22px;
  }
  .nomination-group + .nomination-group {
    margin-top: 42px;
  }
  .candidate {
    min-height: 88px;
    flex-direction: row;
    gap: 12px;
  }
  .candidate i {
    margin-left: auto;
    align-self: auto;
  }
  .candidate-avatar {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    font-size: 17px;
  }
  .group-heading h3 {
    font-size: 14px;
  }
}

.nomination {
  height: auto;
}
.nomination-featured .nomination-index {
  margin-bottom: 26px;
}
.nomination-featured .nomination-action {
  margin-top: 20px;
}
.nomination-prompt {
  min-height: 0 !important;
}
.nomination-candidates {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}
.candidate {
  min-width: 0;
  min-height: 136px;
  padding: 13px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid rgba(191, 219, 254, 0.18);
  background: rgba(214, 231, 255, 0.06);
  color: #e8f1ff;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}
.candidate:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 219, 149, 0.55);
}

/* Center the award as the first visual signal on the page. */
.hero {
  min-height: 0;
  padding: 30px 24px 76px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  text-align: center;
}
.hero-emblem {
  width: min(100%, 500px);
  height: 530px;
  margin: 0 auto -18px;
}
.hero-emblem:before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(48, 151, 255, 0.62),
    rgba(18, 102, 255, 0.34) 38%,
    rgba(20, 87, 220, 0.12) 58%,
    transparent 74%
  );
  filter: blur(22px);
  transform: scale(1.5);
}
.trophy {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
  transform: none;
  animation: float 5s ease-in-out infinite;
}
.trophy:before,
.trophy:after {
  display: none;
}
.trophy img {
  width: 340px;
  height: 510px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(1, 5, 23, 0.58))
    drop-shadow(0 0 28px rgba(22, 121, 255, 0.4))
    drop-shadow(0 0 68px rgba(16, 100, 255, 0.42));
}
.hero-emblem h1 {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 160px;
  left: 0;
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
  text-shadow:
    0 3px 8px #020817,
    0 0 22px rgba(2, 8, 23, 0.95);
}
.hero-emblem h1 em {
  color: #f8db95;
  font-style: normal;
}
.hero-copy {
  width: min(100%, 720px);
}
.hero-pulse {
  margin-left: auto;
  margin-right: auto;
}
.hero .eyebrow {
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero h1 em {
  color: #f8db95;
}
.intro {
  width: min(540px, 100%);
  margin: 18px auto 14px;
}
.event-date {
  margin-bottom: 23px;
}
.hero .gold-button {
  gap: 34px;
}
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: 10px 22px 60px;
    align-items: center;
    gap: 0;
  }
  .hero-emblem {
    position: relative;
    inset: auto;
    width: min(100%, 360px);
    height: 430px;
    margin: 0 auto -8px;
    opacity: 1;
  }
  .trophy img {
    width: 280px;
    height: 420px;
  }
  .hero-emblem h1 {
    bottom: 80px;
    font-size: 36px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-pulse {
    margin-bottom: 15px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .intro {
    font-size: 14px;
  }
  .event-date {
    font-size: 9px;
    line-height: 1.7;
  }
}
.candidate.selected {
  border-color: var(--accent);
  background: rgba(248, 219, 149, 0.14);
  color: var(--accent);
}
.candidate i {
  color: var(--accent);
  font-size: 15px;
  font-style: normal;
  opacity: 0;
  align-self: flex-end;
}
.candidate.selected i {
  opacity: 1;
}
.custom-label {
  position: relative;
  z-index: 1;
  display: block;
  margin: 18px 0 8px;
  color: #dae8ff;
  font-size: 11px;
  font-weight: 700;
}
.custom-input {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(191, 219, 254, 0.24);
  color: #fff;
  background: rgba(3, 11, 34, 0.47);
  border-radius: 3px;
}
.custom-input::placeholder {
  color: rgba(203, 218, 251, 0.42);
}
.custom-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(248, 219, 149, 0.12);
  outline: 0;
}
.candidate .candidate-avatar {
  flex-basis: 58px;
  width: 58px;
  height: 58px;
  font-size: 17px;
}
@media (max-width: 760px) {
  .nomination-featured .nomination-index {
    margin-bottom: 26px;
  }
  .nomination-candidates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .candidate {
    min-height: 92px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .candidate .candidate-avatar {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .candidate-name {
    font-size: 12px;
  }
  .candidate i {
    margin-left: auto;
    align-self: center;
  }
}

/* Full-width, seamless nominee rows */
.ballot-section {
  width: 100%;
  max-width: none;
  padding: 90px 0 105px;
}
.ballot-section > .section-heading,
.submit-wrap {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}
.nomination-grid {
  width: 100%;
}
.nomination {
  min-height: 0;
  height: auto;
  padding: 58px 24px 64px;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(248, 219, 149, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}
.nomination:last-child {
  border-bottom: 1px solid rgba(248, 219, 149, 0.14);
}
.nomination:before,
.nomination:after {
  display: none;
}
.nomination:hover {
  transform: none;
  border-color: rgba(248, 219, 149, 0.3);
  background: rgba(255, 255, 255, 0.012);
  box-shadow: none;
}
.nomination.chosen {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(248, 219, 149, 0.035),
    transparent
  );
}
.nomination-index {
  margin: 0 0 8px !important;
  color: rgba(248, 219, 149, 0.66) !important;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 1px;
}
.nomination h3 {
  max-width: none;
  margin: 0;
  color: #fff1cf;
  font:
    600 34px Unbounded,
    sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
}
.nomination-prompt {
  min-height: 0 !important;
  margin: 8px 0 0 !important;
  font-size: 12px !important;
}
.nomination-candidates {
  width: min(1100px, 100%);
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 26px 34px;
}
.candidate {
  position: relative;
  width: 132px;
  min-height: 0;
  padding: 0;
  display: flex;
  flex: 0 1 132px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: center;
}
.candidate:hover {
  transform: translateY(-4px);
  border: 0;
  background: transparent;
}
.candidate.selected {
  border: 0;
  background: transparent;
  color: var(--accent);
}
.candidate .candidate-avatar {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(248, 219, 149, 0.22);
  background: radial-gradient(circle at 35% 25%, #5f6680, #222b48 72%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  font-size: 28px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.candidate:hover .candidate-avatar {
  transform: scale(1.04);
}
.candidate.selected .candidate-avatar {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px rgba(248, 219, 149, 0.1),
    0 0 32px rgba(248, 219, 149, 0.23);
}
.candidate-name {
  max-width: 132px;
  color: rgba(238, 239, 245, 0.78);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.candidate.selected .candidate-name {
  color: var(--accent);
}
.candidate i {
  position: absolute;
  top: 5px;
  right: 9px;
  z-index: 2;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #101522;
  font-size: 13px;
  font-style: normal;
  opacity: 0;
}
.candidate.selected i {
  opacity: 1;
}
.nomination .custom-label {
  width: min(420px, 100%);
  margin: 35px auto 8px;
  text-align: left;
}
.custom-picker {
  position: relative;
  width: min(420px, 100%);
  margin: auto;
}
.nomination .custom-input {
  width: 100%;
  text-align: left;
}
.person-suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(191, 219, 254, 0.24);
  background: #111a31;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
  text-align: left;
}
.nomination:focus-within {
  z-index: 20;
}
.person-suggestions {
  z-index: 21;
  isolation: isolate;
  pointer-events: auto;
}
.person-suggestions[hidden] {
  display: none;
}
.person-suggestion {
  width: 100%;
  padding: 11px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(191, 219, 254, 0.1);
  color: #f4f1e9;
  background: transparent;
  text-align: left;
}
.person-suggestion-player {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.person-suggestion-player > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person-suggestion-player img {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.person-suggestion:hover,
.person-suggestion:focus-visible {
  background: rgba(248, 219, 149, 0.12);
  outline: 0;
}
.person-suggestion small,
.person-suggestions-empty {
  color: rgba(203, 218, 251, 0.62);
  font-size: 10px;
}
.person-suggestions-empty {
  display: block;
  padding: 12px;
}
.admin-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}
.admin-link:hover {
  color: #fff;
}
.status-dot.is-closed i {
  background: #fb7185;
  box-shadow: 0 0 10px #fb7185;
}
.admin-page {
  background: #050b22;
}
.admin-main {
  max-width: 1170px;
  margin: 0 auto;
  padding: 64px 0 100px;
}
.admin-heading,
.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.admin-heading {
  margin-bottom: 27px;
}
.admin-heading h1 {
  margin: 0;
  font:
    700 34px Unbounded,
    sans-serif;
}
.refresh-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(214, 231, 255, 0.06);
  color: var(--accent);
  font-size: 24px;
}
.admin-message {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.admin-message.is-error {
  color: #fda4af;
}
.admin-controls {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.admin-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.admin-control-row h2,
.admin-section h2 {
  margin: 0;
  font:
    600 18px Unbounded,
    sans-serif;
}
.admin-control-row p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.voting-period {
  margin: 20px 0 0;
  color: #fff1cf;
  font-size: 13px;
  font-weight: 700;
}
.voting-schedule {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 0 34px;
  padding: 27px 24px 29px;
  border-top: 1px solid rgba(248, 219, 149, 0.32);
  border-bottom: 1px solid rgba(248, 219, 149, 0.32);
  background: linear-gradient(
    90deg,
    rgba(248, 219, 149, 0.07),
    rgba(83, 143, 255, 0.055),
    rgba(248, 219, 149, 0.07)
  );
  text-align: center;
}
.closed-voting {
  margin: 0 auto;
  width: min(1240px, 100%);
}
.nomination-slider {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 18px;
}
.nomination-slides {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  overflow: hidden;
}
.closed-nomination-slide {
  min-height: 410px;
  padding: 35px 22px 31px;
  text-align: center;
  opacity: 0.3;
  transform: scale(0.88);
  filter: saturate(0.62);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.22, 0.8, 0.25, 1),
    filter 0.55s ease;
}
.closed-nomination-slide.is-current {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
@keyframes closed-card-in {
  from {
    opacity: 0.15;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.closed-nomination-slide.is-current {
  animation: closed-card-in 0.55s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
@keyframes closed-card-next {
  from {
    opacity: 0.15;
    transform: translateX(34px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes closed-card-previous {
  from {
    opacity: 0.15;
    transform: translateX(-34px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes closed-side-next {
  from {
    opacity: 0.08;
    transform: translateX(25px) scale(0.84);
  }
  to {
    opacity: 0.3;
    transform: translateX(0) scale(0.88);
  }
}
@keyframes closed-side-previous {
  from {
    opacity: 0.08;
    transform: translateX(-25px) scale(0.84);
  }
  to {
    opacity: 0.3;
    transform: translateX(0) scale(0.88);
  }
}
.nomination-slides.is-next .closed-nomination-slide.is-current {
  animation: closed-card-next 0.58s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
.nomination-slides.is-previous .closed-nomination-slide.is-current {
  animation: closed-card-previous 0.58s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
.nomination-slides.is-next .closed-nomination-slide.is-side {
  animation: closed-side-next 0.58s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
.nomination-slides.is-previous .closed-nomination-slide.is-side {
  animation: closed-side-previous 0.58s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
.closed-slide-index {
  display: block;
  color: rgba(248, 219, 149, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.nomination-art-placeholder {
  width: min(360px, 100%);
  height: 220px;
  margin: 25px auto 75px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(248, 219, 149, 0.7);
}
.nomination-art-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nomination-art-placeholder span {
  font:
    700 34px Unbounded,
    sans-serif;
  letter-spacing: 2px;
}
.nomination-art-placeholder small {
  color: rgba(203, 218, 251, 0.45);
  font-size: 10px;
  letter-spacing: 1px;
}
.closed-nomination-slide h3 {
  margin: 0;
  color: #fff1cf;
  font:
    600 clamp(22px, 3vw, 36px) Unbounded,
    sans-serif;
  line-height: 1.2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.closed-nomination-slide h3 span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.closed-slide-description {
  width: min(570px, 100%);
  height: 4.8em;
  min-height: 4.8em;
  max-height: 4.8em;
  margin: 2px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.slider-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(248, 219, 149, 0.35);
  background: rgba(214, 231, 255, 0.07);
  color: var(--accent);
  font-size: 25px;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.slider-arrow:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(248, 219, 149, 0.13);
}
.slider-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(248, 219, 149, 0.5);
  border-radius: 50%;
  background: transparent;
}
.slider-dot.is-active {
  transform: scale(1.35);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px rgba(248, 219, 149, 0.6);
}
.countdown-panel {
  display: grid;
  gap: 14px;
  width: min(900px, 100%);
  margin: 38px auto 0;
  padding: 34px 20px 37px;
  border-top: 1px solid rgba(248, 219, 149, 0.24);
  border-bottom: 1px solid rgba(248, 219, 149, 0.24);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(248, 219, 149, 0.07),
    transparent
  );
  text-align: center;
}
.countdown-panel span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.countdown-date {
  color: var(--muted);
  font-size: 12px;
}
.countdown-panel strong {
  color: #fff1cf;
  font:
    600 clamp(24px, 4vw, 42px) Unbounded,
    sans-serif;
  line-height: 1.3;
}
.voting-window-meta {
  display: grid;
  justify-items: center;
  gap: 7px;
}
.voting-window-meta strong {
  color: #fff1cf;
  font-size: 17px;
}
.voting-window-meta span {
  color: var(--muted);
  font-size: 12px;
}
.voting-window-times {
  width: min(850px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
.voting-window-times > div {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.voting-window-times small {
  color: var(--muted);
  font-size: 12px;
}
.voting-window-times strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.voting-window-divider {
  color: var(--accent);
  font-size: 26px;
}
.status-dot.is-waiting i {
  background: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  animation: none;
}
.switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  background: #29334f;
  cursor: pointer;
  transition: background 0.2s;
}
.switch span:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #dbeafe;
  transition: transform 0.2s;
}
.switch input:checked + span {
  background: #2a785d;
}
.switch input:checked + span:before {
  transform: translateX(24px);
  background: #dcfce7;
}
.switch input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.admin-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.admin-dates label,
.history-filter {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.admin-dates input,
.history-filter select {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #0b1636;
  color: #fff;
  color-scheme: dark;
}
.final-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 12px;
}
.final-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #2a785d;
}
.admin-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 21px;
}
.admin-actions #saveMessage {
  color: #86efac;
  font-size: 12px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.admin-stats div {
  display: grid;
  gap: 7px;
}
.admin-stats span {
  color: var(--muted);
  font-size: 11px;
}
.admin-stats strong {
  color: #fff1cf;
  font:
    600 22px Unbounded,
    sans-serif;
}
.admin-section {
  padding-top: 43px;
}
.admin-section-heading {
  margin-bottom: 17px;
}
.admin-section h2 {
  margin-top: 4px;
}
.admin-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}
.result-group {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.result-group header,
.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.result-group header {
  margin-bottom: 10px;
}
.result-group h3 {
  margin: 0;
  font-size: 13px;
}
.result-group header span {
  color: var(--muted);
  font-size: 10px;
}
.result-row {
  position: relative;
  min-height: 29px;
  overflow: hidden;
  color: #e5edff;
  font-size: 11px;
}
.result-row > span {
  position: relative;
  z-index: 1;
}
.result-row > i {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(83, 143, 255, 0.12);
}
.history-filter {
  min-width: min(240px, 45%);
}
.admin-table-wrap {
  overflow: auto;
  border-top: 1px solid var(--line);
}
.admin-history {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
.admin-history th,
.admin-history td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(177, 202, 255, 0.1);
  vertical-align: middle;
}
.admin-history th {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.history-person {
  display: flex;
  align-items: center;
  gap: 9px;
}
.history-person img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.history-person span {
  display: grid;
  gap: 3px;
}
.history-person small {
  color: var(--muted);
}
.empty-history {
  padding: 25px !important;
  color: var(--muted);
  text-align: center;
}
.candidate-description {
  color: rgba(238, 239, 245, 0.66);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .admin-main {
    padding: 44px 20px 75px;
  }
  .voting-schedule {
    gap: 18px;
    margin: 0 20px 25px;
    padding: 22px 10px 24px;
  }
  .voting-window-meta strong {
    font-size: 16px;
  }
  .voting-window-times {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .voting-window-times strong {
    font-size: 17px;
  }
  .voting-window-divider {
    transform: rotate(90deg);
    font-size: 20px;
    line-height: 1;
  }
  .admin-heading h1 {
    font-size: 27px;
  }
  .admin-dates,
  .admin-results {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    gap: 12px;
  }
  .admin-stats strong {
    font-size: 15px;
  }
  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .history-filter {
    width: 100%;
  }
  .admin-history {
    min-width: 700px;
  }
  .ballot-section {
    padding: 64px 0 75px;
  }
  .nomination-slider {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
  }
  .nomination-slides {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .closed-nomination-slide {
    min-height: 390px;
    padding: 31px 16px 28px;
  }
  .closed-nomination-slide.is-side {
    display: none;
  }
  .nomination-art-placeholder {
    width: 86%;
    height: 190px;
    margin: 22px auto 24px;
  }
  .nomination-art-placeholder span {
    font-size: 27px;
  }
  .slider-arrow {
    width: 38px;
    height: 44px;
    font-size: 20px;
  }
  .countdown-panel {
    margin-top: 66px;
    padding: 28px 12px 31px;
  }
  .countdown-panel strong {
    font-size: 22px;
  }
  .ballot-section > .section-heading,
  .submit-wrap {
    margin-left: 20px;
    margin-right: 20px;
  }
  .nomination {
    padding: 42px 18px 48px;
  }
  .nomination h3 {
    font-size: 27px;
  }
  .nomination-candidates {
    gap: 22px 12px;
    margin-top: 26px;
  }
  .candidate {
    width: 96px;
    flex-basis: 96px;
    gap: 8px;
  }
  .candidate .candidate-avatar {
    flex-basis: 88px;
    width: 88px;
    height: 88px;
  }
  .candidate-name {
    max-width: 96px;
    font-size: 10px;
  }
  .candidate i {
    right: 0;
  }
}

/* Candidate carousel in the open ballot */
.nomination-candidates {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 18px;
  width: min(1100px, 100%);
  margin: 34px auto 0;
  padding: 10px max(20px, calc((100% - 980px) / 2)) 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: pan-x;
  user-select: none;
}
.nomination-candidates::-webkit-scrollbar {
  display: none;
}
.nomination-candidates.is-recentering {
  scroll-behavior: auto !important;
}
.nomination-candidates {
  cursor: grab;
}
.nomination-candidates.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.nomination-candidates .candidate {
  flex: 0 0 164px;
  width: 164px;
  min-height: 190px;
  padding: 0 0 8px;
  scroll-snap-align: center;
}
.nomination-candidates .candidate-avatar {
  flex-basis: 148px;
  width: 148px;
  height: 148px;
}
.nomination-candidates .candidate.selected .candidate-avatar {
  transition: none;
}
.nomination-candidates img {
  pointer-events: none;
  user-select: none;
}
.candidate-order {
  color: rgba(248, 219, 149, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}
.nomination-candidates .candidate-name {
  max-width: 164px;
  font-size: 12px;
}
.nomination-candidates .candidate i {
  top: 4px;
  right: 4px;
}
.closed-nomination-slide[role="button"] {
  cursor: pointer;
}
.closed-nomination-slide[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
@media (max-width: 760px) {
  .nomination-candidates {
    gap: 14px;
    padding-left: calc((100% - 96px) / 2);
    padding-right: calc((100% - 96px) / 2);
  }
  .nomination-candidates .candidate {
    flex-basis: 112px;
    width: 112px;
    min-height: 142px;
  }
  .nomination-candidates .candidate-avatar {
    flex-basis: 104px;
    width: 104px;
    height: 104px;
  }
  .nomination-candidates .candidate-name {
    max-width: 112px;
    font-size: 11px;
  }
}

/* Keep the active nominee centered while the adjacent nominees frame it. */
.nomination-candidates .candidate {
  opacity: 0.26;
  transform: scale(0.86);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    filter 0.14s ease;
  filter: saturate(0.55);
}
.nomination-candidates .candidate.is-adjacent {
  opacity: 0.58;
  transform: scale(0.94);
  filter: saturate(0.78);
}
.nomination-candidates .candidate.is-current {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
.nomination-candidates.is-dragging .candidate {
  transition: none;
}
.nomination-candidates .candidate:hover {
  transform: translateY(-3px) scale(0.88);
}
.nomination-candidates .candidate.is-current:hover {
  transform: translateY(-4px) scale(1);
}
.nomination-candidates .candidate.is-adjacent:hover {
  transform: translateY(-3px) scale(0.96);
}
.candidate-slider {
  width: min(1180px, 100%);
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  margin: 26px auto 0;
}
.candidate-slider .nomination-candidates {
  display: flex;
  grid-template-columns: none;
  min-height: 220px;
  align-items: center;
  margin: 0;
}
.candidate-slider-arrow {
  width: 42px;
  height: 42px;
  font-size: 20px;
}
.candidate-slider-dots {
  margin-top: 10px;
}
.candidate-slider-dots .slider-dot {
  width: 7px;
  height: 7px;
}
.candidate-slider-dots .slider-dot[aria-current="true"] {
  transform: scale(1.35);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px rgba(248, 219, 149, 0.6);
}
@media (max-width: 760px) {
  .candidate-slider {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 5px;
    margin-top: 22px;
  }
  .candidate-slider .nomination-candidates {
    min-height: 170px;
    padding-left: calc((100% - 112px) / 2);
    padding-right: calc((100% - 112px) / 2);
  }
  .candidate-slider-arrow {
    width: 32px;
    height: 38px;
    font-size: 17px;
  }
}
