:root {
  --ev-purple: #4a2cb2;
  --ev-ink: #1c1755;
  --ev-yellow: #ffd14a;
  --ev-mint: #86eac8;
  --ev-pink: #ffa8cf;
  --ev-lilac: #a99af0;
  --ev-paper: #f6f2ff;
}

* { box-sizing: border-box; }

body.event {
  margin: 0;
  min-width: 0;
  background: var(--ev-paper);
  color: var(--ev-ink);
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}

a { color: inherit; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ev-purple);
  color: #fff;
  padding: 22px 24px 28px;
}

.hero__slash {
  position: absolute;
  right: -80px;
  top: -20px;
  bottom: -20px;
  width: 180px;
  background: var(--ev-yellow);
  transform: skewX(-14deg);
}

.hero__home {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ev-yellow);
  font-family: "Jua", sans-serif;
  font-size: 18px;
  text-decoration: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 16px;
}

.hero__title {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  font-family: "Jua", sans-serif;
  font-weight: 400;
  line-height: 1;
}

.hero__title span {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: 34px;
}

.hero__title b {
  font-weight: 400;
  font-size: 58px;
  color: var(--ev-yellow);
  text-shadow: 3px 3px 0 var(--ev-ink);
}

.hero__tag {
  display: inline-block;
  padding: 8px 16px 6px;
  border-radius: 999px;
  background: var(--ev-yellow);
  color: var(--ev-ink);
  font-family: "Jua", sans-serif;
  font-size: 26px;
  line-height: 1;
  transform: rotate(-3deg);
}

.hero__sub {
  margin: 18px 0 0;
  font-family: "Jua", sans-serif;
  font-size: 28px;
  line-height: 1.25;
}

.hero__sub em {
  font-style: normal;
  color: var(--ev-mint);
}

.hero__sub em.c2 { color: var(--ev-pink); }
.hero__sub em.c3 { color: var(--ev-yellow); }

.hero__survey {
  margin: 16px 0 0;
  font-family: "Jua", sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.wrap {
  width: min(980px, calc(100% - 32px));
  margin: 22px auto 48px;
}

.flow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ev-ink);
}

.step__n {
  position: absolute;
  left: 16px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ev-mint);
  color: var(--ev-ink);
  font-family: "Jua", sans-serif;
  font-size: 20px;
  line-height: 1;
  transform: rotate(-8deg);
  box-shadow: 2px 2px 0 var(--ev-lilac);
}

.step--pink .step__n {
  background: var(--ev-pink);
  transform: rotate(6deg);
}

.step--yellow .step__n {
  background: var(--ev-yellow);
  transform: rotate(-4deg);
}

.step h2 {
  width: 100%;
  margin: 0;
  padding: 0 40px;
  font-family: "Jua", sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
}

.arrow {
  flex: none;
  align-self: center;
  width: 64px;
  height: 48px;
}

.arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.lead {
  margin: 26px 4px 0;
  font-family: "Jua", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.notes {
  margin: 18px 0 0;
  padding: 6px 22px;
  list-style: none;
  border-radius: 24px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ev-ink);
}

.notes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: #3d376c;
}

.notes li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--ev-purple);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 16px 28px 15px;
  border-radius: 999px;
  background: var(--ev-yellow);
  box-shadow: 4px 4px 0 var(--ev-ink);
  color: var(--ev-ink);
  font-family: "Jua", sans-serif;
  font-size: 26px;
  text-decoration: none;
}

.go--survey {
  background: var(--ev-purple);
  color: var(--ev-yellow);
}

.go:hover { transform: translate(-1px, -1px); }

.sched {
  margin-top: 18px;
  padding: 22px 22px 16px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ev-ink);
}

.sched > h2 {
  margin: 0;
  font-family: "Jua", sans-serif;
  font-size: 28px;
  font-weight: 400;
}

.sched > p {
  margin: 6px 0 14px;
  color: #3d376c;
  font-size: 15px;
  line-height: 1.5;
}

.rounds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.round {
  padding: 14px 14px 8px;
  border-radius: 18px;
  background: #fbf8ff;
}

.round h3 {
  margin: 0;
  font-family: "Jua", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.round__vs {
  margin: 2px 0 8px;
  color: #3d376c;
  font-size: 14px;
  font-weight: 700;
}

.games {
  margin: 0;
  padding: 0;
  list-style: none;
}

.games li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid #eadff8;
  font-size: 14.5px;
}

.games b { font-weight: 800; }

.games time {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.games i,
.games em {
  color: #3d376c;
  font-style: normal;
  font-weight: 600;
}

.games em { font-weight: 800; }

.fine {
  margin: 12px 0 0;
  color: #5c567f;
  font-size: 13px;
  line-height: 1.5;
}

.survey-card {
  padding: 22px 22px 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ev-ink);
}

.survey-card > label,
.q legend {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-family: "Jua", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ev-ink);
}

.survey-card input[type="tel"],
.survey-card input[type="text"],
.survey-card textarea,
.q textarea,
.q input[type="text"] {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ev-paper);
  color: var(--ev-ink);
  font: 700 16px/1.45 "Pretendard Variable", Pretendard, sans-serif;
}

.survey-card input[type="tel"] { height: 54px; padding: 0 16px; }

.survey-card textarea,
.q textarea {
  min-height: 96px;
  resize: vertical;
}

.survey-card input:focus,
.survey-card textarea:focus,
.q textarea:focus,
.q input[type="text"]:focus {
  outline: 3px solid var(--ev-yellow);
}

.survey-card .hint {
  margin: 8px 0 0;
  color: #3d376c;
  font-size: 14px;
  line-height: 1.45;
}

.survey-msg {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--ev-purple);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.survey-card .go {
  display: flex;
  width: fit-content;
  margin: 16px auto 0;
  border: 0;
  cursor: pointer;
}

.q {
  margin: 0 0 12px;
  padding: 18px 18px 16px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--ev-ink);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choices--stack {
  flex-direction: column;
  align-items: stretch;
}

.choices--stack .choice span {
  width: 100%;
  border-radius: 16px;
  justify-content: flex-start;
  line-height: 1.35;
}

.choices--grid5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choices--grid5 .choice span {
  width: 100%;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.q-multi {
  display: inline-block;
  margin-left: 6px;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: #5c5678;
  vertical-align: 3px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ev-paper);
  color: var(--ev-ink);
  font-size: 15px;
  font-weight: 800;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--ev-yellow);
}

.choice input:checked + span {
  background: var(--ev-yellow);
  box-shadow: 3px 3px 0 var(--ev-ink);
}

.q-more,
.prize-other {
  display: none;
  margin-top: 12px;
}

.q-more.is-on,
.prize-other.is-on {
  display: block;
}

.q-more .q {
  margin-top: 12px;
  box-shadow: none;
  background: var(--ev-paper);
}

@media (max-width: 800px) {
  .hero { padding: 18px 16px 22px; }
  .hero__slash { display: none; }
  .hero__title span { font-size: 22px; }
  .hero__title b { font-size: 36px; text-shadow: 2px 2px 0 var(--ev-ink); }
  .hero__tag { font-size: 20px; }
  .hero__sub { font-size: 20px; }
  .hero__survey { font-size: 32px; }

  .wrap { width: min(980px, calc(100% - 20px)); }

  .flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .step {
    flex: none;
    width: 100%;
    min-height: 0;
  }
  .step h2 { font-size: 24px; }

  .arrow {
    width: 48px;
    height: 42px;
    margin: 2px auto;
    transform: rotate(90deg);
  }

  .lead { font-size: 21px; text-align: left; }

  .notes { padding: 4px 16px; }
  .notes li { font-size: 13px; }

  .actions { flex-direction: column; }
  .go { width: 100%; }

  .rounds { grid-template-columns: 1fr; }

  .q legend,
  .survey-card > label { font-size: 20px; }

  .games li {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 2px 8px;
  }

  .games i { display: none; }
}

.notice {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(28, 23, 85, 0.55);
}

.notice[hidden] { display: none; }

.notice__card {
  width: min(440px, 100%);
  margin: 0;
  padding: 28px 24px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ev-ink);
  text-align: center;
}

.notice__card h2 {
  margin: 0 0 10px;
  font-family: "Jua", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
}

.notice__card p {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.notice__card .go {
  width: fit-content;
  min-width: 140px;
  margin: 0 auto;
}
