:root {
  --ink: #2b1650;
  --muted: #6b5a8a;
  --pink: #ff7eb6;
  --yellow: #ffd84d;
  --mint: #5ee0b5;
  --lavender: #c6b4ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff1f6;
  color: var(--ink);
  font-family:
    Nunito, ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 650;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 3px;
}
.shell {
  min-height: 100vh;
  overflow: hidden;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 3px 0 var(--ink);
  font-size: 24px;
  font-weight: 1000;
}
.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
}
.brand .eyebrow {
  margin-top: 4px;
}
.nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 999px;
}
.nav button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 8px 16px;
  font-weight: 850;
}
.nav button.active {
  background: var(--yellow);
}
main {
  max-width: 1100px;
  margin: auto;
  padding: 25px 32px 80px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 60px;
  align-items: center;
  min-height: 580px;
}
.tag {
  display: inline-block;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  transform: rotate(-2deg);
  font-size: 13px;
  font-weight: 900;
}
.hero h1,
.title {
  font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.hero h1 {
  font-size: clamp(58px, 7.5vw, 100px);
  margin: 24px 0;
}
.pink {
  color: #ef4f98;
}
.lead {
  font-size: 19px;
  line-height: 1.5;
  color: #4a3870;
  max-width: 490px;
}
.doodle {
  font-size: 100px;
  transform: rotate(-12deg);
  display: inline-block;
  margin: 35px 0 0 40px;
  filter: drop-shadow(0 6px 0 #e8afd0);
}
.card {
  background: white;
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 0 8px 0 var(--ink);
  padding: 28px;
}
.card h2,
.card h3 {
  margin: 0 0 12px;
  font-weight: 950;
}
.card h2 {
  font-size: 28px;
}
.card p {
  color: #594876;
  line-height: 1.5;
}
.award-preview {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed #e6d9f5;
}
.award-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.award-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
}
.award-list li span {
  flex: 0 0 1.5em;
  text-align: center;
}
.label {
  display: block;
  margin: 18px 0 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  color: var(--muted);
  text-transform: uppercase;
}
input,
textarea {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: #fff7fa;
  padding: 13px 15px;
  color: var(--ink);
}
textarea {
  min-height: 150px;
  resize: vertical;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: var(--pink);
  box-shadow: 0 5px 0 var(--ink);
  padding: 13px 22px;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}
.button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink);
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.button.mint {
  background: var(--mint);
}
.button.yellow {
  background: var(--yellow);
}
.button.white {
  background: white;
}
.wide {
  width: 100%;
}
.error {
  color: #b21c55;
  font-weight: 800;
  min-height: 1.5em;
  margin: 12px 0;
}
.center {
  text-align: center;
}
.narrow {
  max-width: 720px;
  margin: auto;
}
.title {
  font-size: clamp(44px, 6vw, 72px);
  margin: 12px 0;
}
.sub {
  color: #5a4779;
  line-height: 1.5;
  font-size: 17px;
}
.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.progress span {
  height: 10px;
  flex: 1;
  background: #e8d9ef;
  border-radius: 30px;
}
.progress span.done {
  background: var(--pink);
}
.progress span.current {
  background: var(--yellow);
}
.category-head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
}
.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 82px;
  height: 82px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--yellow);
  font-size: 42px;
  box-shadow: 0 4px 0 var(--ink);
}
.category-head h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 0;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -0.04em;
}
.nominees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.nominee {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 14px;
  border: 3px solid var(--ink);
  border-radius: 17px;
  background: white;
  min-height: 78px;
}
.nominee.selected {
  background: #fff0a6;
  box-shadow: 0 4px 0 var(--ink);
}
.avatar {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lavender);
  font-weight: 1000;
}
.nominee small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.check {
  margin-left: auto;
  font-size: 22px;
}
.actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.link {
  border: 0;
  background: none;
  text-decoration: underline;
  font-weight: 900;
  padding: 12px;
}
.review-row,
.result-row,
.roster-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 2px solid #eee4f2;
}
.review-row:last-child,
.result-row:last-child,
.roster-row:last-child {
  border-bottom: 0;
}
.review-row strong,
.result-row strong {
  display: block;
}
.review-row small,
.result-row small {
  color: var(--muted);
}
.banner {
  padding: 16px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: #fff8d8;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.stats {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.stat {
  flex: 1;
  background: #fff1f6;
  border: 2px solid var(--ink);
  border-radius: 15px;
  padding: 15px;
}
.stat b {
  display: block;
  font-size: 28px;
}
.invites {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff8d8;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px;
}
.empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.loading {
  padding: 20vh 20px;
  text-align: center;
}
.footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 0 20px 25px;
}
.sparkle {
  color: #ef4f98;
}
@media (max-width: 760px) {
  .header {
    padding: 18px;
  }
  .nav {
    width: 100%;
    justify-content: center;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 60px;
  }
  .doodle {
    display: none;
  }
  main {
    padding: 28px 18px 65px;
  }
  .grid,
  .nominees {
    grid-template-columns: 1fr;
  }
  .category-head {
    align-items: flex-start;
  }
  .icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }
  .card {
    padding: 22px;
  }
  .actions .button {
    flex: 1;
  }
  .stats {
    flex-wrap: wrap;
  }
}
.roster-heading {
  margin-top: 24px;
}
.invites-heading {
  margin-top: 25px;
}
.ceremony-card {
  margin-top: 30px;
}
.ceremony-icon {
  margin: 0 auto 20px;
}
.ceremony-actions {
  margin-top: 25px;
}
.countdown {
  font-size: 100px;
  font-weight: 1000;
  line-height: 1;
  animation: pop 1s ease-out;
}
.reveal {
  margin-top: 25px;
  padding: 22px;
  background: #fff1f6;
  border: 3px solid var(--ink);
  border-radius: 18px;
  animation: pop 0.45s ease-out;
}
.winner {
  padding: 12px;
}
.winner strong,
.winner span {
  display: block;
}
.winner strong {
  font-size: 28px;
}
.winner span {
  color: var(--muted);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.75);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
