@charset "UTF-8";
body.halloween-quest-body {
  background: #140e21;
}

body.dark.halloween-quest-body {
  --light-bg: #140e21;
  --grey-background: #140e21;
}

body.halloween-quest-body .main.main--halloween-quest {
  background: #140e21;
  padding-top: 0;
  color: #f1e7ee;
}

.halloween-quest-cinematic-open {
  overflow: hidden;
}

.halloween-quest {
  --hq-bg: #140e21;
  --hq-panel: #1e162e;
  --hq-text: #f5e9eb;
  --hq-muted: #baacc8;
  --hq-gold: #ffc37b;
  --hq-orange: #f59a52;
  --hq-line: rgba(214, 174, 240, .16);
  --hq-purple: #b489e6;
  --hq-content-width: 1320px;
  width: 100%;
  margin: 0 auto;
  color: var(--hq-text);
  font-family: "Exo 2", sans-serif;
  background: radial-gradient(ellipse at 91% 38%, rgba(115, 55, 142, 0.1), transparent 60%), var(--hq-bg);
  overflow: hidden;
}
.halloween-quest *, .halloween-quest *::before, .halloween-quest *::after {
  box-sizing: border-box;
}
.halloween-quest button, .halloween-quest input, .halloween-quest select, .halloween-quest textarea {
  font-family: inherit;
}
.halloween-quest button, .halloween-quest a {
  -webkit-tap-highlight-color: transparent;
}
.halloween-quest button {
  cursor: pointer;
}
.halloween-quest button:disabled {
  cursor: default;
}
.halloween-quest a {
  color: inherit;
}
.halloween-quest h1, .halloween-quest h2, .halloween-quest h3, .halloween-quest p {
  margin: 0;
}
.halloween-quest svg {
  display: block;
}
.halloween-quest [hidden] {
  display: none !important;
}
.halloween-quest :focus-visible {
  outline: 2px solid var(--hq-gold);
  outline-offset: 5px;
}
.halloween-quest__symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.halloween-quest__hero {
  position: relative;
  min-height: 548px;
  padding: 25px max(48px, (100% - var(--hq-content-width)) / 2 + 48px) 44px;
  isolation: isolate;
  background: #1a1328 url("/assets/halloween/quest/quest-hero.webp") 64% 47%/cover;
}
.halloween-quest__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17, 10, 27, 0.97), rgba(17, 10, 27, 0.86) 27%, rgba(17, 10, 27, 0.36) 57%, rgba(17, 10, 27, 0.04) 87%), linear-gradient(0deg, var(--hq-bg), transparent 34%);
}
.halloween-quest__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, var(--hq-bg), transparent 22%), radial-gradient(ellipse at 36% 93%, rgba(255, 143, 55, 0.11), transparent 44%);
}
.halloween-quest__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c4b6cd !important;
  padding: 6px 0;
}
.halloween-quest__hero-content {
  position: relative;
  max-width: 570px;
  padding-top: 34px;
}
.halloween-quest__live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e5ab76;
  box-shadow: 0 0 9px rgba(249, 153, 70, 0.65);
  flex-shrink: 0;
}
.halloween-quest__hero-kicker {
  color: #c7b2cd;
  font-size: 14px;
  margin-top: 0 !important;
}
.halloween-quest__title {
  font-size: clamp(44px, 5.1vw, 67px);
  line-height: 1.06;
  letter-spacing: -2px;
  font-weight: 800;
  margin-top: 9px !important;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}
.halloween-quest__title span {
  color: #ffb96b;
  background: linear-gradient(180deg, #ffe1a8 2%, #ffb768 54%, #ed8844);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.halloween-quest__hero-copy {
  max-width: 445px;
  font-size: 14px;
  line-height: 1.7;
  color: #d0c0d2;
  margin-top: 18px !important;
}
.halloween-quest__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 21px;
  min-height: 48px;
  border: 1px solid rgba(255, 213, 145, 0.65);
  border-radius: var(--main-border-radius, 8px);
  background: linear-gradient(165deg, #ffc77c, #ee9a50 72%);
  color: #392038 !important;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255, 250, 213, 0.5), 0 4px 24px rgba(240, 130, 40, 0.13);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.halloween-quest__button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.halloween-quest__button > span:last-child {
  font-size: 17px;
  margin-left: 6px;
}
.halloween-quest__button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 7px 28px rgba(240, 130, 40, 0.23);
  filter: brightness(1.06);
}
.halloween-quest__button:disabled {
  opacity: 0.42;
  filter: saturate(0.5);
  box-shadow: none;
}
.halloween-quest__button--secondary {
  background: rgba(181, 140, 225, 0.07);
  color: #d8bcec !important;
  border-color: rgba(199, 153, 233, 0.28);
  box-shadow: none;
}
.halloween-quest__hero-content > .halloween-quest__button {
  margin-top: 24px;
}
.halloween-quest__hero-facts {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: #b2a1be;
  margin-top: 19px;
}
.halloween-quest__hero-facts i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9e7baf;
}
.halloween-quest__hero-stamp {
  position: absolute;
  right: max(45px, (100% - var(--hq-content-width)) / 2 + 45px);
  bottom: 52px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(31, 17, 30, 0.77);
  border: 1px solid rgba(255, 190, 102, 0.3);
  border-radius: 12px;
  padding: 13px 16px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transform: rotate(-3deg);
}
.halloween-quest__hero-stamp svg {
  width: 32px;
  height: 32px;
  color: var(--hq-gold);
}
.halloween-quest__hero-stamp strong {
  display: block;
  font-size: 16px;
  color: #ffd796;
}
.halloween-quest__hero-stamp span {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #d2b8c3;
}
.halloween-quest__hero-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #ffc983;
}
.halloween-quest__hero-sparks span {
  position: absolute;
  animation: hqTwinkle 5s ease-in-out infinite;
}
.halloween-quest__hero-sparks span:nth-child(1) {
  left: 48%;
  top: 24%;
  font-size: 18px;
}
.halloween-quest__hero-sparks span:nth-child(2) {
  right: 17%;
  top: 12%;
  font-size: 27px;
  animation-delay: -2s;
}
.halloween-quest__hero-sparks span:nth-child(3) {
  right: 33%;
  bottom: 22%;
  font-size: 13px;
  animation-delay: -4s;
}
.halloween-quest__content {
  max-width: var(--hq-content-width);
  margin: 0 auto;
  padding: 34px 40px 24px;
}
.halloween-quest__section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.halloween-quest__section-heading h2 {
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-top: 7px;
}
.halloween-quest__overline {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 11px;
  font-weight: 600;
  color: #ba8cd4;
}
.halloween-quest__save {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #aba0b9;
  font-size: 12px;
  white-space: nowrap;
  padding-bottom: 3px;
}
.halloween-quest__save span {
  color: #91b8a6;
}
.halloween-quest__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.halloween-quest__investigation {
  min-width: 0;
  scroll-margin-top: 25px;
}
.halloween-quest__route {
  display: grid;
  grid-template-columns: repeat(var(--hq-stages, 4), 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
  margin: 0 0 23px;
}
.halloween-quest__route-step {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  color: #9987af;
  font-size: 13px;
  font-weight: 600;
}
.halloween-quest__route-step small {
  font-size: 11px;
  font-weight: 400;
  color: #7d6a93;
}
.halloween-quest__route-step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #4d345f, #483255);
  z-index: 0;
}
.halloween-quest__route-step:first-child::before {
  display: none;
}
.halloween-quest__route-step--current {
  color: #f4c381;
}
.halloween-quest__route-step--current small {
  color: #e2a46a;
}
.halloween-quest__route-step--current .halloween-quest__route-number {
  border-color: #d69961;
  color: #ffcf93;
  background: #49302f;
  box-shadow: 0 0 0 5px rgba(245, 165, 82, 0.045), 0 0 15px rgba(226, 151, 67, 0.16);
}
.halloween-quest__route-step--done {
  color: #c3a3e3;
}
.halloween-quest__route-step--done small {
  color: #af93c8;
}
.halloween-quest__route-step--done .halloween-quest__route-number {
  color: #d6b8ed;
  background: #39294c;
  border-color: #8860a9;
}
.halloween-quest__route-number {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #4b365e;
  background: #20162f;
  color: #9e87b8;
  font-size: 14px;
  margin-bottom: 4px;
}
.halloween-quest__board {
  position: relative;
  border: 1px solid rgba(191, 146, 219, 0.2);
  border-radius: 14px;
  background: radial-gradient(ellipse at 95% 0, rgba(116, 67, 146, 0.14), transparent 60%), linear-gradient(150deg, #241930, #1b1427);
  min-height: 504px;
  box-shadow: 0 10px 35px rgba(5, 2, 15, 0.18), inset 0 1px 0 rgba(233, 179, 255, 0.055);
  overflow: hidden;
}
.halloween-quest__board:focus {
  outline: none;
}
.halloween-quest__landing {
  text-align: center;
  padding: 31px 35px 30px;
  position: relative;
}
.halloween-quest__landing h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  margin-top: 5px;
}
.halloween-quest__landing > p {
  margin: 14px auto 0;
  max-width: 430px;
  line-height: 1.7;
  font-size: 14px;
  color: var(--hq-muted);
}
.halloween-quest__landing > .halloween-quest__button {
  margin-top: 23px;
}
.halloween-quest__scene-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #d7b497;
  background: rgba(221, 157, 89, 0.07);
  padding: 7px 10px;
  border: 1px solid rgba(235, 165, 93, 0.14);
  border-radius: 5px;
}
.halloween-quest__landing-art {
  position: relative;
  width: 190px;
  height: 174px;
  margin: 8px auto 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(161, 90, 220, 0.17), transparent 68%);
}
.halloween-quest__landing-art svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 12px rgba(155, 90, 183, 0.22));
}
.halloween-quest__landing-art > span {
  position: absolute;
  right: 7px;
  top: 14px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #f3c078;
  border: 1px solid #97703e;
  background: #31202a;
  border-radius: 50%;
  font-size: 18px;
  transform: rotate(15deg);
}
.halloween-quest__landing-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px auto 0;
  font-size: 12px;
  color: #b29abd;
}
.halloween-quest__landing-reward svg {
  width: 21px;
  height: 21px;
  color: #efb56a;
  flex-shrink: 0;
}
.halloween-quest__landing-reward strong {
  display: block;
  font-size: 14px;
  color: #f4c086;
  margin-bottom: 4px;
}
.halloween-quest__scene {
  padding: 23px;
}
.halloween-quest__scene h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 17px;
}
.halloween-quest__scene-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.halloween-quest__scene-badge {
  font-size: 11px;
  color: #94829e;
  white-space: nowrap;
}
.halloween-quest__scene-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hq-muted);
  margin-top: 11px !important;
}
.halloween-quest__dialogue {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 19px 14px 10px;
  background: linear-gradient(90deg, rgba(124, 80, 167, 0.15), rgba(105, 63, 136, 0.065));
  border: 1px solid rgba(166, 116, 202, 0.19);
  border-radius: 8px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.halloween-quest__dialogue > div:nth-child(2) {
  min-width: 0;
  position: relative;
  z-index: 1;
}
.halloween-quest__dialogue strong {
  display: block;
  font-size: 12px;
  color: #c9a5e6;
  margin-bottom: 5px;
}
.halloween-quest__dialogue p {
  font-size: 14px;
  line-height: 1.65;
  color: #e1cee6;
}
.halloween-quest__dialogue-avatar {
  width: 54px;
  height: 68px;
  flex-shrink: 0;
}
.halloween-quest__dialogue-avatar svg {
  width: 100%;
  height: 100%;
}
.halloween-quest__dialogue-quotes {
  position: absolute;
  right: 9px;
  top: 0;
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
  color: rgba(162, 111, 192, 0.13);
}
.halloween-quest__options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.halloween-quest__options--characters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.halloween-quest__option {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 15px 9px 12px;
  color: var(--hq-text);
  background: linear-gradient(180deg, rgba(126, 79, 156, 0.085), rgba(9, 6, 18, 0.12));
  border: 1px solid rgba(167, 123, 198, 0.2);
  border-radius: 9px;
  min-width: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s;
}
.halloween-quest__option:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: rgba(222, 163, 99, 0.65);
  background: rgba(170, 116, 98, 0.08);
}
.halloween-quest__option--selected {
  background: linear-gradient(180deg, rgba(200, 142, 70, 0.14), rgba(155, 83, 62, 0.04));
  border-color: #dba664;
  box-shadow: 0 0 0 1px rgba(217, 163, 95, 0.2), inset 0 0 24px rgba(222, 158, 89, 0.04);
}
.halloween-quest__option--selected .halloween-quest__option-check {
  opacity: 1;
}
.halloween-quest__option--selected .halloween-quest__option-select {
  color: #edbe80;
}
.halloween-quest__option-index {
  position: absolute;
  left: 9px;
  top: 8px;
  color: #7f688b;
  font-size: 11px;
  letter-spacing: 1px;
}
.halloween-quest__option-check {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  color: #392031;
  background: #eec17f;
  opacity: 0;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.halloween-quest__option-art {
  position: relative;
  display: block;
  width: 100%;
  max-width: 142px;
  aspect-ratio: 1;
  margin: 6px auto 2px;
}
.halloween-quest__option-art svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.24));
}
.halloween-quest__bag-symbol {
  position: absolute;
  left: 51%;
  top: 56%;
  transform: translate(-50%, -50%);
  font-family: Georgia, serif;
  line-height: 1;
  font-size: clamp(14px, 1.9vw, 23px);
  color: #594052;
}
.halloween-quest__bag-number {
  position: absolute;
  right: 19%;
  top: 81%;
  font-size: 14px;
  color: #efcdaa;
  background: rgba(27, 9, 29, 0.44);
  border: 1px solid rgba(233, 194, 149, 0.35);
  border-radius: 3px;
  padding: 1px 4px;
}
.halloween-quest__option-label {
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
  color: #d0bfd5;
  flex: 1;
}
.halloween-quest__option-select {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  color: #8e779e;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid rgba(159, 118, 184, 0.14);
  width: 100%;
  justify-content: center;
}
.halloween-quest__option--character {
  padding-left: 12px;
  padding-right: 12px;
}
.halloween-quest__option--character .halloween-quest__option-art {
  max-width: 107px;
  height: 115px;
  margin-bottom: 10px;
}
.halloween-quest__option--character .halloween-quest__option-label {
  font-size: 12px;
}
.halloween-quest__character-name {
  display: block;
  color: #dec0eb;
  font-size: 13px;
  margin-bottom: 9px;
  line-height: 1.4;
  text-align: center;
}
.halloween-quest__answer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 23px;
  padding-top: 19px;
  border-top: 1px solid var(--hq-line);
}
.halloween-quest__answer-footer > p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: #9b84ac;
  max-width: 200px;
}
.halloween-quest__answer-footer > p svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #aa86c8;
}
.halloween-quest__answer-footer .halloween-quest__button {
  padding: 13px 15px;
  font-size: 13px;
  gap: 8px;
}
.halloween-quest__answer-footer .halloween-quest__button svg {
  width: 17px;
  height: 17px;
}
.halloween-quest__feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 !important;
  padding: 14px 16px;
  border: 1px solid #446954;
  border-left: 4px solid #83c49a;
  border-radius: 8px;
  background: #20312b;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: #d6f2df;
  scroll-margin: 16px;
}
.halloween-quest__feedback::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  color: #d6f2df;
  background: #375c44;
  font-size: 16px;
  font-weight: 700;
}
.halloween-quest__feedback:empty {
  display: none;
}
.halloween-quest__feedback--error {
  color: #ffe0db;
  background: #3a2230;
  border-color: #864650;
  border-left-color: #ef8c87;
}
.halloween-quest__feedback--error::before {
  content: "!";
  color: #ffe0db;
  background: #8b3d4d;
}
.halloween-quest__tip {
  display: flex;
  gap: 10px;
  padding: 16px 18px;
  border: 1px dashed rgba(171, 121, 204, 0.22);
  border-radius: 9px;
  margin-top: 9px;
  background: rgba(121, 72, 147, 0.035);
}
.halloween-quest__tip svg {
  width: 23px;
  height: 23px;
  color: #9471b3;
  flex-shrink: 0;
}
.halloween-quest__tip p {
  color: #9e89af;
  font-size: 12px;
  line-height: 1.7;
}
.halloween-quest__tip strong {
  display: block;
  color: #c2a7d6;
  font-size: 13px;
  margin-bottom: 2px;
}
.halloween-quest__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.halloween-quest__sidebar > section {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.halloween-quest__journal {
  position: relative;
  color: #5d4149;
  background: radial-gradient(ellipse at 16% 16%, rgba(255, 248, 217, 0.8), transparent 60%), linear-gradient(130deg, #ead4ad, #dec097);
  border: 1px solid #f6dcb4;
  border-radius: 10px 10px 14px 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 0 40px rgba(113, 67, 38, 0.09);
}
.halloween-quest__journal::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 7px;
  bottom: 7px;
  pointer-events: none;
  border: 1px solid rgba(132, 91, 62, 0.17);
  border-radius: 5px;
}
.halloween-quest__journal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 22px;
  padding: 20px 0 15px;
  border-bottom: 1px solid rgba(127, 82, 52, 0.2);
}
.halloween-quest__journal-head span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #987651;
}
.halloween-quest__journal-head h2 {
  font-size: 20px;
  margin-top: 4px;
  color: #563a3e;
}
.halloween-quest__journal-head svg {
  width: 28px;
  height: 28px;
  color: #93644c;
  transform: rotate(-8deg);
}
.halloween-quest__journal-items {
  padding: 0 22px;
}
.halloween-quest__journal-empty {
  padding: 32px 0;
  font-size: 14px;
  color: #9b7b61;
  text-align: center;
  line-height: 1.7;
}
.halloween-quest__journal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 13px 15px 18px;
  color: #987453;
  font-size: 11px;
}
.halloween-quest__journal-footer span {
  color: #8c684b;
}
.halloween-quest__clue {
  position: relative;
  display: flex;
  gap: 9px;
  padding: 18px 0 15px;
  border-bottom: 1px dashed rgba(133, 89, 54, 0.24);
}
.halloween-quest__clue h3 {
  font-size: 13px;
  font-weight: 700;
  color: #65434a;
}
.halloween-quest__clue p {
  font-size: 12px;
  color: #846245;
  line-height: 1.7;
  margin-top: 6px;
}
.halloween-quest__clue > div {
  flex: 1;
  min-width: 0;
}
.halloween-quest__clue-number {
  font-size: 11px;
  color: #a68059;
  padding-top: 2px;
}
.halloween-quest__clue-symbol {
  font-size: 24px;
  color: #9b5b55;
  align-self: center;
  transform: rotate(-9deg);
}
.halloween-quest__global {
  background: linear-gradient(140deg, #251931, #1c1427);
  border: 1px solid rgba(159, 106, 191, 0.22);
  border-radius: 12px;
  padding: 22px 23px 0;
  overflow: hidden;
  scroll-margin-top: 25px;
}
.halloween-quest__global > h2 {
  margin-top: 7px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.halloween-quest__global > .halloween-quest__overline {
  font-size: 11px;
  letter-spacing: 1.1px;
}
.halloween-quest__pumpkin {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  touch-action: manipulation;
  position: relative;
  height: 161px;
  width: 180px;
  margin: 9px auto 0;
}
.halloween-quest__pumpkin > svg {
  position: relative;
  width: 154px;
  height: 154px;
  margin: 0 auto;
  z-index: 1;
  filter: saturate(0.86) brightness(0.86) drop-shadow(0 9px 17px rgba(226, 81, 25, 0.13));
  transition: filter 1s;
}
.halloween-quest__pumpkin > .halloween-quest__pumpkin-star {
  position: absolute;
  color: #e9b67e;
  font-size: 17px;
  left: 0;
  top: 55px;
  opacity: 0.6;
}
.halloween-quest__pumpkin > .halloween-quest__pumpkin-star:nth-last-child(2) {
  left: auto;
  right: 2px;
  top: 30px;
  font-size: 23px;
}
.halloween-quest__pumpkin--awake > svg {
  filter: saturate(1.1) brightness(1.15) drop-shadow(0 0 20px rgba(255, 164, 54, 0.5));
  animation: hqFloat 4s ease-in-out infinite;
}
.halloween-quest__pumpkin--awake .halloween-quest__pumpkin-halo {
  opacity: 1;
}
.halloween-quest__pumpkin--wiggle > svg {
  animation: hqPumpkinWiggle 0.85s ease-in-out;
}
.halloween-quest__pumpkin--hop > svg {
  animation: hqPumpkinHop 0.95s ease-in-out;
}
.halloween-quest__pumpkin--magic > svg {
  animation: hqPumpkinMagic 1.1s ease-in-out;
}
.halloween-quest__pumpkin-burst {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.halloween-quest__pumpkin-burst > i {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--hq-pop-color);
  font-size: 18px;
  font-style: normal;
  animation: hqPumpkinPop 1.1s ease-out both;
}
.halloween-quest__pumpkin-burst > i > svg {
  width: 20px;
  height: 20px;
}
.halloween-quest__pumpkin-message {
  min-height: 42px;
  margin: 0 0 12px !important;
  color: var(--hq-muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.halloween-quest__pumpkin-halo {
  position: absolute;
  inset: -5px -15px;
  background: radial-gradient(ellipse, rgba(255, 131, 39, 0.19), transparent 65%);
  opacity: 0.35;
  transition: opacity 1s;
}
.halloween-quest__locks {
  display: flex;
  justify-content: center;
  gap: 17px;
  margin-top: -4px;
  padding-bottom: 18px;
}
.halloween-quest__lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 51px;
  color: #775e89;
  position: relative;
}
.halloween-quest__lock svg {
  width: 22px;
  height: 26px;
  margin-bottom: 7px;
}
.halloween-quest__lock span {
  font-size: 11px;
  font-weight: 600;
}
.halloween-quest__lock small {
  margin-top: 3px;
  font-size: 11px;
  color: #7f698c;
}
.halloween-quest__lock::after {
  content: "";
  width: 26px;
  height: 1px;
  background: #584064;
  position: absolute;
  right: -29px;
  top: 12px;
}
.halloween-quest__lock:last-child::after {
  display: none;
}
.halloween-quest__lock--open {
  color: #efb477;
}
.halloween-quest__lock--open small {
  color: #c39063;
}
.halloween-quest__lock--open::after {
  background: #a16b48;
}
.halloween-quest__lock--unlocking {
  animation: hqUnlock 1.2s ease-out;
}
.halloween-quest__progress-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  font-size: 11px;
  color: #b8a3c7;
}
.halloween-quest__progress-heading strong {
  color: #efb575;
  font-size: 12px;
  font-weight: 600;
}
.halloween-quest__progress {
  height: 8px;
  padding: 2px;
  border: 1px solid rgba(166, 108, 192, 0.18);
  background: #100b1a;
  border-radius: 20px;
}
.halloween-quest__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #a268ca, #e69b70 65%, #ffd495);
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(252, 165, 81, 0.25);
  transition: width 1s ease;
}
.halloween-quest__progress-count {
  display: flex;
  gap: 5px;
  align-items: baseline;
  margin-top: 12px;
}
.halloween-quest__progress-count strong {
  font-size: 26px;
  color: #f7d196;
  letter-spacing: -0.7px;
  line-height: 1.2;
}
.halloween-quest__progress-count > span {
  font-size: 14px;
  color: #a48db6;
}
.halloween-quest__progress-count svg {
  width: 21px;
  height: 21px;
  align-self: center;
  color: #cb92bd;
  margin-left: auto;
}
.halloween-quest__remaining {
  color: #a08aa9;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 8px !important;
}
.halloween-quest__players {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 11px;
  color: #a994bb;
  margin-top: 16px;
  padding-bottom: 20px;
}
.halloween-quest__players strong {
  font-weight: 500;
  color: #d3bbdf;
}
.halloween-quest__players .halloween-quest__live-dot {
  width: 4px;
  height: 4px;
  background: #9fb898;
  box-shadow: 0 0 8px rgba(172, 205, 156, 0.25);
  margin-right: 1px;
}
.halloween-quest__shelest-quote {
  margin: 0 -23px;
  padding: 14px 23px 17px;
  border-top: 1px solid rgba(137, 95, 163, 0.14);
  background: rgba(112, 71, 141, 0.06);
}
.halloween-quest__shelest-quote span {
  display: block;
  font-size: 11px;
  color: #b78bcf;
  margin-bottom: 5px;
}
.halloween-quest__shelest-quote p {
  font-size: 12px;
  line-height: 1.6;
  color: #aa91b9;
  font-style: italic;
}
.halloween-quest__footnote {
  margin-top: 34px;
  padding: 20px 0 5px;
  display: flex;
  justify-content: center;
  gap: 9px;
  color: #806b94;
  font-size: 11px;
  line-height: 1.8;
  border-top: 1px solid rgba(131, 89, 158, 0.14);
}
.halloween-quest__footnote span {
  color: #ad82c7;
  font-size: 14px;
}
.halloween-quest__cipher {
  margin-top: 22px;
}
.halloween-quest__cipher-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ac8fbd;
  text-align: center;
}
.halloween-quest__cipher-legend {
  background: rgba(126, 87, 148, 0.07);
  border: 1px solid rgba(159, 113, 190, 0.14);
  border-radius: 8px;
  padding: 14px 10px;
}
.halloween-quest__cipher-legend > div {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin-top: 13px;
}
.halloween-quest__cipher-pair {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.halloween-quest__cipher-pair b {
  font-size: 23px;
  line-height: 1.2;
  color: #d7b0ee;
  font-weight: 400;
}
.halloween-quest__cipher-pair > span {
  font-size: 12px;
  color: #705b88;
}
.halloween-quest__cipher-pair strong {
  color: #f2c486;
  font-size: 15px;
  font-weight: 600;
}
.halloween-quest__cipher-door {
  margin-top: 23px;
}
.halloween-quest__cipher-sequence {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 11px;
}
.halloween-quest__cipher-sequence > span {
  position: relative;
  width: 61px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid #75517f;
  border-radius: 8px;
  color: #ddbaec;
  font-size: 35px;
  background: linear-gradient(160deg, #3e2a48, #241a31);
  box-shadow: inset 0 0 18px rgba(133, 83, 157, 0.11);
}
.halloween-quest__cipher-sequence > span small {
  position: absolute;
  left: 6px;
  top: 5px;
  font-size: 11px;
  color: #9376a6;
}
.halloween-quest__cipher-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #c2a2cb;
  font-size: 13px;
  line-height: 1.8;
  padding: 14px 18px;
  margin-top: 17px !important;
  background: rgba(193, 154, 102, 0.045);
  border-left: 2px solid #a97e59;
  border-radius: 3px;
}
.halloween-quest__cipher-hint svg {
  width: 15px;
  height: 19px;
  flex-shrink: 0;
  color: #cda875;
  margin-top: 2px;
}
.halloween-quest__code-label {
  display: block;
  text-align: center;
  margin-top: 23px;
  color: #bfa1cd;
  font-size: 12px;
}
.halloween-quest__code {
  display: block;
  width: 217px;
  margin: 10px auto 0;
  padding: 12px 8px 12px 20px;
  letter-spacing: 15px;
  text-align: center;
  font-size: 28px;
  color: #f7d59c;
  background: #150e21;
  border: 1px solid #785784;
  border-radius: 8px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}
.halloween-quest__code::-moz-placeholder {
  color: #725585;
}
.halloween-quest__code::placeholder {
  color: #725585;
}
.halloween-quest__code-help {
  text-align: center;
  font-size: 11px;
  color: #8c729e;
  margin-top: 9px !important;
}
.halloween-quest__result {
  text-align: center;
  padding: 34px 30px;
  position: relative;
}
.halloween-quest__result h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}
.halloween-quest__result h2 span {
  display: block;
  color: #ffc47c;
  margin-top: 4px;
}
.halloween-quest__result > p {
  max-width: 410px;
  color: #bca9c8;
  font-size: 14px;
  line-height: 1.8;
  margin: 15px auto 0;
}
.halloween-quest__result > .halloween-quest__button {
  margin-top: 23px;
}
.halloween-quest__result--finale h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
}
.halloween-quest__result-art {
  position: relative;
  margin: 8px auto 14px;
  height: 170px;
  width: 180px;
  color: #a2567c;
  --hq-seal: #edc47d;
  background: radial-gradient(ellipse, rgba(233, 155, 77, 0.14), transparent 68%);
}
.halloween-quest__result-art svg {
  width: 100%;
  height: 100%;
}
.halloween-quest__result-art > span {
  position: absolute;
  color: #eec787;
  font-size: 22px;
  left: -15px;
  top: 35px;
}
.halloween-quest__result-art > span:last-child {
  left: auto;
  right: -4px;
  top: 92px;
}
.halloween-quest__personal-reward {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  text-align: left;
  margin: 23px auto 0;
  background: rgba(190, 125, 95, 0.06);
  border: 1px solid rgba(219, 162, 91, 0.2);
  border-radius: 8px;
  padding: 16px;
}
.halloween-quest__personal-reward svg {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  color: #e2ad75;
}
.halloween-quest__personal-reward strong {
  display: block;
  color: #e9be91;
  font-size: 14px;
}
.halloween-quest__personal-reward span {
  display: block;
  font-size: 12px;
  color: #b799b3;
  line-height: 1.6;
  margin-top: 5px;
}
.halloween-quest__result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.halloween-quest__result-note {
  color: #8f769f !important;
  font-size: 11px !important;
  margin-top: 17px !important;
}
.halloween-quest__dialogue-author {
  font-size: 11px;
  color: #af8cc6;
  margin-top: 5px;
  display: block;
}
.halloween-quest__finale-dialogue {
  color: #d1b3d5 !important;
  font-style: italic;
  font-size: 13px !important;
}
.halloween-quest__finale-art {
  width: 290px;
  max-width: 100%;
}
.halloween-quest__finale-art .halloween-quest__finale-thief {
  position: absolute;
  width: 155px;
  height: 168px;
  left: -18px;
  bottom: 1px;
  opacity: 0.53;
  filter: saturate(0.65);
}
.halloween-quest__finale-art .halloween-quest__finale-pumpkin {
  position: absolute;
  width: 170px;
  height: 170px;
  left: 56px;
  bottom: 1px;
  filter: brightness(1.15) drop-shadow(0 0 23px rgba(255, 160, 43, 0.34));
  animation: hqFloat 4s ease-in-out infinite;
}
.halloween-quest__finale-art .halloween-quest__finale-bag {
  position: absolute;
  width: 104px;
  height: 116px;
  right: -4px;
  bottom: 1px;
  color: #954d73;
  filter: drop-shadow(0 0 9px rgba(233, 146, 55, 0.2));
  animation: hqBagBurst 0.8s ease-out;
}
.halloween-quest__finale-art .halloween-quest__finale-candy {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 45px;
  bottom: 95px;
  color: #e6a761;
  animation: hqCandyBurst 1s ease-out both;
  --hq-burst-x: 20px;
  --hq-burst-y: -62px;
}
.halloween-quest__finale-art .halloween-quest__finale-candy svg {
  width: 100%;
  height: 100%;
}
.halloween-quest__finale-art .halloween-quest__finale-candy--two {
  --hq-burst-x: -45px;
  --hq-burst-y: -45px;
  color: #d1a0de;
}
.halloween-quest__finale-art .halloween-quest__finale-candy--three {
  --hq-burst-x: 48px;
  --hq-burst-y: -31px;
  color: #9ed4b6;
}
.halloween-quest__cinematic {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: radial-gradient(ellipse at 50% 35%, rgba(93, 51, 113, 0.45), rgba(10, 6, 17, 0.98) 65%);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  overflow: auto;
  animation: hqAppear 0.35s ease-out;
}
.halloween-quest__cinematic-inner {
  position: relative;
  max-width: 600px;
  width: 100%;
  text-align: center;
  padding: 25px 32px;
  margin: auto;
}
.halloween-quest__cinematic-inner h2 {
  color: #f6ca8c;
  font-size: 38px;
  font-weight: 700;
  margin-top: -3px;
}
.halloween-quest__cinematic-inner > p:not(.halloween-quest__cinematic-line):not(.halloween-quest__modal-feedback) {
  color: #b79fc2;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 15px;
}
.halloween-quest__cinematic-inner--finale h2 {
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1.15;
}
.halloween-quest__cinematic-inner--finale h2 span {
  display: block;
  color: #ffd28d;
}
.halloween-quest__cinematic-inner--finale .halloween-quest__cinematic-art {
  height: 205px;
  margin-bottom: 15px;
}
.halloween-quest__cinematic-inner--finale > .halloween-quest__button {
  margin-top: 25px;
}
.halloween-quest__cinematic-art {
  position: relative;
  width: 280px;
  height: 235px;
  margin: 18px auto 8px;
  background: radial-gradient(ellipse at 50% 55%, rgba(211, 129, 170, 0.1), transparent 68%);
}
.halloween-quest__cinematic-art svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(186, 139, 218, 0.2));
}
.halloween-quest__cinematic-art > span {
  color: #bf86dc;
  position: absolute;
  left: -8px;
  top: 60px;
  font-size: 24px;
}
.halloween-quest__cinematic-art > span:last-child {
  left: auto;
  right: 0;
  top: 100px;
  font-size: 30px;
}
.halloween-quest__cinematic-line {
  min-height: 85px;
  max-width: 460px;
  margin: 18px auto 0 !important;
  color: #d7c0df;
  font-size: 16px;
  line-height: 1.8;
}
.halloween-quest__cinematic-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 18px 0 24px;
}
.halloween-quest__cinematic-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #493254;
}
.halloween-quest__cinematic-dots i.is-active {
  background: #eeb474;
  box-shadow: 0 0 7px rgba(252, 184, 105, 0.3);
}
.halloween-quest__skip {
  border: 0;
  background: transparent;
  color: #aa8fb9;
  font-size: 12px;
  position: absolute;
  right: 0;
  top: -12px;
  padding: 10px;
}
.halloween-quest__skip:hover {
  color: #f1c286;
}
.halloween-quest__skip--bottom {
  position: static;
  display: block;
  margin: 14px auto 0;
}
.halloween-quest__modal-feedback {
  min-height: 17px;
  color: #f0a39e;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 15px !important;
}
.halloween-quest__confetti {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 12001;
  overflow: hidden;
}
.halloween-quest__confetti > span {
  position: absolute;
  left: var(--hq-x);
  top: -50px;
  animation: hqCandyFall 3.3s var(--hq-delay) ease-in forwards;
  color: var(--hq-confetti);
}
.halloween-quest__confetti > span svg {
  width: 24px;
  height: 24px;
}
.halloween-quest__noscript {
  color: #edbf88;
  background: #2d1d2d;
  padding: 15px;
  margin-top: 15px !important;
  border: 1px solid #755042;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.halloween-quest__scene--advanced h2 {
  font-size: 28px;
}
.halloween-quest__scene--advanced .halloween-quest__scene-description {
  font-size: 13px;
}
.halloween-quest__scene--advanced .halloween-quest__answer-footer > p {
  max-width: 290px;
  line-height: 1.7;
}
.halloween-quest__evidence {
  margin-top: 22px;
  padding: 19px 20px;
  background: linear-gradient(135deg, rgba(206, 163, 100, 0.085), rgba(175, 110, 151, 0.035));
  border: 1px solid rgba(209, 162, 105, 0.21);
  border-radius: 8px;
}
.halloween-quest__evidence ol {
  padding: 0 0 0 21px;
  margin: 13px 0 0;
  color: #d4c2d3;
  font-size: 14px;
  line-height: 1.85;
}
.halloween-quest__evidence li {
  padding-left: 5px;
}
.halloween-quest__evidence li + li {
  margin-top: 7px;
}
.halloween-quest__evidence li::marker {
  color: #c8946b;
  font-size: 12px;
}
.halloween-quest__evidence-title {
  display: block;
  text-transform: uppercase;
  color: #e2b782;
  letter-spacing: 1.4px;
  font-size: 11px;
  font-weight: 700;
}
.halloween-quest__crime-desk {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 21px;
  margin-top: 26px;
}
.halloween-quest__crime-desk h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: space-between;
  font-size: 13px;
  color: #e2c8db;
  margin-bottom: 13px;
}
.halloween-quest__crime-desk h3 span {
  font-size: 11px;
  font-weight: 400;
  color: #937caa;
}
.halloween-quest__document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.halloween-quest__document {
  position: relative;
  min-height: 88px;
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  border: 1px solid #55405f;
  border-radius: 8px;
  color: #bea3cb;
  background: linear-gradient(160deg, #33243e, #241b31);
}
.halloween-quest__document > span {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  color: #d0a480;
}
.halloween-quest__document strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.halloween-quest__document i {
  position: absolute;
  top: 6px;
  right: 8px;
  color: #9bb9a1;
  font-style: normal;
  font-size: 11px;
}
.halloween-quest__document:hover {
  border-color: #b78562;
}
.halloween-quest__document--active {
  border-color: #ddb279;
  background: linear-gradient(160deg, #493140, #2e2236);
  box-shadow: inset 0 0 19px rgba(255, 184, 93, 0.08);
}
.halloween-quest__document--active strong {
  color: #f0d8bb;
}
.halloween-quest__document-content {
  position: relative;
  padding: 21px 20px;
  margin-top: 12px;
  background: linear-gradient(135deg, #e2c89f, #c6a27f);
  border-radius: 5px;
  box-shadow: inset 0 0 22px rgba(117, 67, 39, 0.11), 0 5px 13px rgba(0, 0, 0, 0.12);
  color: #5e4144;
  min-height: 170px;
}
.halloween-quest__document-content > span {
  text-transform: uppercase;
  color: #98714c;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.halloween-quest__document-content h4 {
  font-family: Georgia, serif;
  font-size: 17px;
  margin: 9px 0;
  line-height: 1.3;
  color: #654443;
}
.halloween-quest__document-content p {
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
}
.halloween-quest__document-content::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(137, 93, 56, 0.22);
  border-radius: 2px;
  pointer-events: none;
}
.halloween-quest__sequence {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.halloween-quest__sequence-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 71px;
  padding: 10px 9px 10px 11px;
  background: linear-gradient(135deg, #302139, #271d34);
  border: 1px solid rgba(185, 137, 204, 0.24);
  border-radius: 8px;
}
.halloween-quest__sequence-card > div:nth-child(2) {
  display: flex;
  gap: 9px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.halloween-quest__sequence-card strong {
  color: #ddc8df;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
}
.halloween-quest__sequence-card--given {
  border-color: var(--hq-gold);
}
.halloween-quest__sequence-card--given > div:nth-child(2) {
  flex-wrap: wrap;
}
.halloween-quest__given-label {
  display: block;
  width: 100%;
  color: var(--hq-gold);
  font-size: 11px;
  font-weight: 400;
}
.halloween-quest__diary-fragment {
  min-width: 0;
}
.halloween-quest__decoded-line {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--hq-muted);
}
.halloween-quest__decoded-line strong {
  color: var(--hq-gold);
}
.halloween-quest__sequence-index {
  font-size: 11px;
  color: #98739e;
}
.halloween-quest__event-symbol {
  font-size: 21px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  color: #ecbc84;
}
.halloween-quest__sequence-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.halloween-quest__sequence-controls button {
  color: #ddbbd9;
  width: 34px;
  height: 27px;
  font-size: 17px;
  line-height: 1;
  border: 1px solid #614469;
  border-radius: 5px;
  background: #3a2844;
}
.halloween-quest__sequence-controls button:hover:not(:disabled) {
  background: #634055;
  color: #ffd393;
}
.halloween-quest__sequence-controls button:disabled {
  opacity: 0.25;
}
.halloween-quest__workspace-note {
  color: #9b85ab;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 13px !important;
}
.halloween-quest__deduction {
  margin-top: 27px;
}
.halloween-quest__deduction h3 {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #e0c8df;
  margin-bottom: 14px;
}
.halloween-quest__deduction h3 span {
  font-size: 11px;
  color: #9e81ac;
  font-weight: 400;
}
.halloween-quest__deduction-heading, .halloween-quest__deduction-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 9px;
  align-items: center;
}
.halloween-quest__deduction-heading {
  padding: 0 12px 9px;
  font-size: 11px;
  color: #a789b7;
}
.halloween-quest__deduction-row {
  padding: 14px 12px;
  border: 1px solid rgba(180, 139, 212, 0.15);
  background: rgba(103, 61, 128, 0.07);
  border-radius: 7px;
}
.halloween-quest__deduction-row {
  margin-top: 8px;
}
.halloween-quest__deduction-row > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dec4df;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.halloween-quest__deduction-row label {
  min-width: 0;
}
.halloween-quest__deduction-row label > span {
  display: none;
}
.halloween-quest__deduction-row select {
  width: 100%;
  font-size: 13px;
  padding: 11px 8px;
}
.halloween-quest__deduction-row--given {
  border-color: var(--hq-gold);
}
.halloween-quest__deduction-row--given > strong {
  flex-wrap: wrap;
}
.halloween-quest__deduction-row--given select:disabled {
  color: var(--hq-text);
  opacity: 1;
}
.halloween-quest__suspect-number {
  font-size: 11px;
  color: #8e6e9e;
}
.halloween-quest__scene select {
  display: block;
  min-height: 44px;
  color: #f3d8b6;
  border: 1px solid #65466f;
  border-radius: 5px;
  background: #1c1328;
  cursor: pointer;
}
.halloween-quest__scene select option {
  background: #241930;
  color: #efdadc;
}
.halloween-quest__elimination {
  padding: 17px 18px;
  margin-top: 17px;
  border: 1px dashed #63446e;
  border-radius: 8px;
  background: rgba(111, 67, 139, 0.055);
}
.halloween-quest__elimination summary {
  cursor: pointer;
  color: #bea0d1;
  font-size: 14px;
}
.halloween-quest__elimination summary span {
  float: right;
  color: #d8bb91;
  font-size: 12px;
}
.halloween-quest__grid-scroll {
  overflow-x: auto;
  margin-top: 18px;
}
.halloween-quest__logic-grid {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  min-width: 470px;
}
.halloween-quest__logic-grid caption {
  text-align: left;
  font-size: 13px;
  color: #c6a5d2;
  padding-bottom: 8px;
}
.halloween-quest__logic-grid th, .halloween-quest__logic-grid td {
  border: 1px solid #50385d;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}
.halloween-quest__logic-grid th {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.45;
  color: #b59dc3;
  background: rgba(93, 56, 119, 0.13);
}
.halloween-quest__logic-grid th:first-child {
  width: 84px;
}
.halloween-quest__logic-grid tbody th {
  text-align: left;
}
.halloween-quest__logic-grid td {
  padding: 0;
}
.halloween-quest__logic-mark {
  display: block;
  width: 100%;
  min-height: 38px;
  background: transparent;
  border: 0;
  color: #7e608d;
  font-size: 17px;
}
.halloween-quest__logic-mark--1 {
  color: #e18c8e;
  background: rgba(186, 74, 83, 0.08);
}
.halloween-quest__logic-mark--2 {
  color: #a8cfae;
  background: rgba(103, 160, 122, 0.1);
}
.halloween-quest__diary {
  margin-top: 25px;
}
.halloween-quest__diary h3 {
  color: #d7bcdf;
  font-size: 13px;
  margin-bottom: 13px;
}
.halloween-quest__diary h3 span {
  display: block;
  color: #90769f;
  font-size: 11px;
  margin-top: 5px;
  font-weight: 400;
}
.halloween-quest__diary .halloween-quest__sequence-card {
  padding-top: 13px;
  padding-bottom: 13px;
}
.halloween-quest__encrypted-line {
  color: #d6b6e8;
  font-family: Georgia, serif;
  font-size: 17px;
  letter-spacing: 3px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.halloween-quest__encrypted-line b {
  display: inline-block;
  color: #f0bc78;
  font-size: 25px;
  letter-spacing: 0;
  padding-right: 12px;
  margin-right: 11px;
  border-right: 1px solid #6b4671;
  font-weight: 400;
}
.halloween-quest__alphabet {
  padding: 20px;
  margin-top: 22px;
  background: rgba(119, 73, 149, 0.06);
  border: 1px solid #4e355e;
  border-radius: 8px;
}
.halloween-quest__alphabet > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.halloween-quest__alphabet-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid #563a65;
  border-radius: 5px;
  background: #251a31;
}
.halloween-quest__alphabet-pair b {
  font-size: 23px;
  color: #d9b8e9;
  font-weight: 400;
}
.halloween-quest__alphabet-pair i {
  font-size: 12px;
  color: #7d5b8f;
  font-style: normal;
}
.halloween-quest__alphabet-pair strong {
  font-size: 13px;
  color: #efbf88;
}
.halloween-quest__alphabet-pair--missing {
  border-style: dashed;
}
.halloween-quest__alphabet-pair--missing strong {
  color: #97679f;
}
.halloween-quest__diary-answer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 23px;
}
.halloween-quest__diary-answer label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #c5a9d3;
  font-size: 13px;
  line-height: 1.6;
}
.halloween-quest__diary-answer select {
  width: 100%;
  font-size: 14px;
  padding: 12px;
}
.halloween-quest__seal-door {
  position: relative;
  isolation: isolate;
  padding: 28px 20px 21px;
  margin-top: 26px;
  background: radial-gradient(ellipse at 50% 30%, #51354b, #281c33 70%);
  border: 1px solid #856050;
  border-radius: 90px 90px 8px 8px;
  box-shadow: inset 0 0 0 5px rgba(218, 167, 93, 0.055), inset 0 0 0 9px rgba(32, 15, 31, 0.3);
}
.halloween-quest__seal-door--error {
  animation: hqSealError 0.7s ease-out;
}
.halloween-quest__seal-door--error .halloween-quest__disk-face {
  animation: hqSealError 0.7s ease-out;
}
.halloween-quest__seal-door-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0.3;
  background: radial-gradient(ellipse at 50% 60%, rgba(222, 136, 81, 0.3), transparent 70%);
}
.halloween-quest__disks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.halloween-quest__disk {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.halloween-quest__disk > button {
  width: 40px;
  height: 30px;
  background: #3a2439;
  color: #cc9e82;
  border: 1px solid #76514f;
  border-radius: 6px;
  font-size: 18px;
}
.halloween-quest__disk > button:hover {
  background: #694342;
  color: #ffcd90;
}
.halloween-quest__disk--given .halloween-quest__disk-position {
  color: var(--hq-gold);
}
.halloween-quest__disk--given > button:disabled {
  opacity: 0.35;
}
.halloween-quest__disk-position {
  color: #b28b94;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.halloween-quest__disk-face {
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid #aa7c57;
  border-radius: 50%;
  color: #f1c690;
  background: radial-gradient(circle, #59373f, #322333 68%);
  box-shadow: 0 0 0 4px rgba(127, 83, 55, 0.18), inset 0 0 0 5px rgba(205, 158, 111, 0.09), 0 5px 15px rgba(5, 2, 10, 0.23);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.halloween-quest__disk-face b {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 45px);
  line-height: 1.15;
  text-shadow: 0 0 14px rgba(255, 174, 80, 0.17);
}
.halloween-quest__disk-face span {
  font-size: 11px;
  color: #c4a198;
  margin-top: 3px;
}
.halloween-quest__seal-door-caption {
  display: block;
  text-align: center;
  color: #b28b98;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 22px;
}
.halloween-quest__bindings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}
.halloween-quest__bindings > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 10px;
  border: 1px solid #50375c;
  border-radius: 6px;
  color: #bc9cce;
  min-width: 0;
}
.halloween-quest__bindings b {
  color: #ecbe82;
  font-size: 22px;
  font-weight: 400;
}
.halloween-quest__bindings strong {
  font-size: 11px;
  font-weight: 500;
  flex: 1;
}
.halloween-quest__bindings small {
  display: block;
  width: 100%;
  color: #8f749f;
  font-size: 11px;
}
.halloween-quest__lookup-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.halloween-quest__lookup-tables section {
  padding: 15px;
  background: rgba(88, 54, 107, 0.09);
  border: 1px solid #51365d;
  border-radius: 7px;
}
.halloween-quest__lookup-tables h3 {
  color: #d8b3e3;
  font-size: 13px;
  margin-bottom: 11px;
}
.halloween-quest__lookup-tables dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.halloween-quest__lookup-tables dl > div {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  font-size: 12px;
  line-height: 1.5;
  color: #a48daf;
}
.halloween-quest__lookup-tables dt {
  font-weight: 400;
}
.halloween-quest__lookup-tables dd {
  margin: 0;
  font-weight: 600;
  color: #f0c28d;
}
.halloween-quest__safe {
  padding: 23px 17px;
  margin-top: 26px;
  border-radius: 12px;
  border: 1px solid #a57a58;
  background: radial-gradient(ellipse at 50% 0, rgba(174, 118, 66, 0.17), transparent 70%), #1d1428;
  text-align: center;
}
.halloween-quest__safe label {
  display: block;
  margin-top: 9px;
  color: #bfa1cd;
  font-size: 13px;
}
.halloween-quest__safe > p {
  margin-top: 10px;
  font-size: 11px;
  color: #977da6;
}
.halloween-quest__final-code {
  max-width: 100%;
  width: 330px;
  display: block;
  margin: 16px auto 0;
  font-size: 29px;
  font-weight: 600;
  padding: 14px 8px 14px 17px;
  text-align: center;
  letter-spacing: 8px;
  color: #f7d59c;
  border: 1px solid #775680;
  border-radius: 7px;
  background: #140d20;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}
.halloween-quest__final-code::-moz-placeholder {
  color: #71517f;
}
.halloween-quest__final-code::placeholder {
  color: #71517f;
}
.halloween-quest__safe-code {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 330px;
  margin: 16px auto 0;
}
.halloween-quest__safe-code .halloween-quest__final-code {
  flex: 1;
  min-width: 0;
  width: 0;
  margin: 0;
  font-size: clamp(18px, 4.5vw, 27px);
  letter-spacing: clamp(2px, 1vw, 6px);
  padding: 12px 6px 12px 9px;
}
.halloween-quest__code-prefix {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--hq-gold);
  border-radius: 7px;
  color: var(--hq-gold);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 3px;
}
.halloween-quest__chests {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 24px;
}
.halloween-quest__chest {
  position: relative;
  color: #bd8f64;
  background: linear-gradient(160deg, #3d293b, #281c32);
  border: 1px solid #674453;
  border-radius: 8px;
  padding: 23px 9px 14px;
  min-width: 0;
}
.halloween-quest__chest > svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 8px rgba(5, 1, 9, 0.25));
}
.halloween-quest__chest > strong {
  display: block;
  color: #d6b9c8;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
  font-weight: 500;
}
.halloween-quest__chest--selected {
  border-color: #e8b175;
  background: linear-gradient(160deg, #50353e, #322335);
  box-shadow: 0 0 0 1px rgba(255, 189, 110, 0.12);
}
.halloween-quest__chest--selected .halloween-quest__chest-select {
  color: #f2bd82;
}
.halloween-quest__chest:hover {
  border-color: #b67c62;
}
.halloween-quest__chest-index {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 11px;
  color: #987083;
}
.halloween-quest__chest-symbol {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  color: #f3c08c;
  font-size: 18px;
  font-family: Georgia, serif;
  font-weight: 400;
  pointer-events: none;
}
.halloween-quest__chest-number {
  display: block;
  margin: 5px 0;
  color: #a88591;
  font-size: 12px;
}
.halloween-quest__chest-select {
  display: block;
  padding-top: 12px;
  margin-top: 11px;
  border-top: 1px solid #624152;
  color: #ab869b;
  font-size: 11px;
}
.halloween-quest__hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px;
  margin-top: 23px;
  border: 1px dashed #705080;
  border-radius: 8px;
  background: rgba(128, 76, 153, 0.065);
}
.halloween-quest__hints > div {
  flex: 1;
  min-width: 180px;
}
.halloween-quest__hints p {
  color: #a38cb1;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 6px;
}
.halloween-quest__hints-title {
  display: block;
  color: #d8b9eb;
  font-size: 14px;
}
.halloween-quest__hint-button {
  padding: 11px 13px;
  border-radius: 6px;
  color: #dabcdf;
  border: 1px solid #735183;
  background: #3b274b;
  font-size: 12px;
}
.halloween-quest__hint-button:hover:not(:disabled) {
  border-color: #af83c3;
}
.halloween-quest__hint-button:disabled {
  opacity: 0.5;
}
.halloween-quest__hint-list {
  width: 100%;
  padding: 13px 0 0 18px;
  margin: 0;
  border-top: 1px solid #543760;
  color: #c9a9d3;
  font-size: 13px;
  line-height: 1.9;
}
.halloween-quest__hint-list li {
  padding-left: 4px;
}
.halloween-quest__hint-list li + li {
  margin-top: 7px;
}
.halloween-quest__hint-list li::marker {
  color: #b184c7;
}
.halloween-quest__clue-details {
  margin-top: 10px;
}
.halloween-quest__clue-details summary {
  color: #76544c;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}
.halloween-quest__clue-details ul {
  margin: 9px 0 0;
  padding: 0 0 0 13px;
  color: #765545;
  font-size: 12px;
  line-height: 1.75;
}
.halloween-quest__clue-details li + li {
  margin-top: 6px;
}
.halloween-quest__notes {
  padding: 17px 22px 4px;
}
.halloween-quest__notes label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #72504b;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
}
.halloween-quest__notes label span {
  color: #977356;
  font-size: 17px;
}
.halloween-quest__notes textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 108px;
  max-height: 420px;
  font-size: 13px;
  line-height: 1.8;
  border: 1px solid rgba(144, 97, 64, 0.3);
  border-radius: 6px;
  color: #694a43;
  background: rgba(255, 245, 218, 0.24);
  padding: 11px;
}
.halloween-quest__notes textarea::-moz-placeholder {
  color: #ac8867;
}
.halloween-quest__notes textarea::placeholder {
  color: #ac8867;
}
.halloween-quest__notes textarea:disabled {
  opacity: 0.5;
}
.halloween-quest__notes textarea:focus {
  outline-color: #b17b54;
}
.halloween-quest__notes small {
  display: block;
  color: #987555;
  font-size: 11px;
  margin-top: 9px;
  line-height: 1.6;
}
@media (max-width: 1080px) {
  .halloween-quest__crime-desk {
    grid-template-columns: minmax(0, 1fr);
  }
  .halloween-quest__document-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .halloween-quest__document-content {
    min-height: 0;
  }
  .halloween-quest__deduction-heading {
    display: none;
  }
  .halloween-quest__deduction-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .halloween-quest__deduction-row > strong {
    grid-column: 1/-1;
  }
  .halloween-quest__deduction-row label > span {
    display: block;
    color: #9e7faf;
    font-size: 11px;
    margin-bottom: 6px;
  }
  .halloween-quest__alphabet > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .halloween-quest__chests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .halloween-quest__disk-face span {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .halloween-quest__sequence-controls button {
    width: 44px;
    height: 44px;
  }
  .halloween-quest__logic-mark {
    min-height: 44px;
  }
  .halloween-quest__document {
    min-height: 98px;
  }
}
@media (max-width: 500px) {
  .halloween-quest__scene--advanced h2 {
    font-size: 24px;
  }
  .halloween-quest__scene--advanced .halloween-quest__scene-description {
    font-size: 14px;
  }
  .halloween-quest__evidence {
    padding: 17px 14px;
  }
  .halloween-quest__evidence ol {
    font-size: 14px;
    line-height: 1.85;
  }
  .halloween-quest__crime-desk {
    gap: 23px;
  }
  .halloween-quest__crime-desk h3 {
    font-size: 13px;
  }
  .halloween-quest__document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .halloween-quest__document strong {
    font-size: 13px;
  }
  .halloween-quest__sequence-card {
    padding: 10px 7px;
    gap: 7px;
  }
  .halloween-quest__sequence-card strong {
    font-size: 13px;
  }
  .halloween-quest__sequence-controls button {
    width: 44px;
    height: 44px;
  }
  .halloween-quest__event-symbol {
    width: 21px;
    font-size: 20px;
  }
  .halloween-quest__deduction h3 {
    align-items: flex-start;
    flex-direction: column;
  }
  .halloween-quest__deduction-row {
    padding: 14px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .halloween-quest__deduction-row > strong {
    font-size: 13px;
  }
  .halloween-quest__deduction-row label > span {
    font-size: 12px;
  }
  .halloween-quest__deduction-row select {
    font-size: 16px;
    padding: 12px;
    min-height: 44px;
  }
  .halloween-quest__elimination {
    padding: 16px 13px;
  }
  .halloween-quest__diary-answer {
    grid-template-columns: minmax(0, 1fr);
  }
  .halloween-quest__diary-answer select {
    font-size: 16px;
  }
  .halloween-quest__encrypted-line {
    font-size: 15px;
    letter-spacing: 2px;
  }
  .halloween-quest__encrypted-line b {
    font-size: 21px;
    padding-right: 8px;
    margin-right: 7px;
  }
  .halloween-quest__alphabet {
    padding: 16px 12px;
  }
  .halloween-quest__alphabet > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .halloween-quest__alphabet-pair {
    gap: 5px;
  }
  .halloween-quest__alphabet-pair b {
    font-size: 22px;
  }
  .halloween-quest__alphabet-pair strong {
    font-size: 14px;
  }
  .halloween-quest__seal-door {
    padding: 24px 12px 18px;
    border-radius: 50px 50px 8px 8px;
  }
  .halloween-quest__disks {
    gap: 7px;
  }
  .halloween-quest__disk {
    gap: 10px;
  }
  .halloween-quest__disk > button {
    width: 44px;
    height: 44px;
  }
  .halloween-quest__disk-position {
    font-size: 11px;
    letter-spacing: 0;
  }
  .halloween-quest__disk-face {
    border-width: 1px;
  }
  .halloween-quest__disk-face b {
    font-size: 25px;
  }
  .halloween-quest__disk-face span {
    display: none;
  }
  .halloween-quest__seal-door-caption {
    font-size: 11px;
    letter-spacing: 0.7px;
  }
  .halloween-quest__bindings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .halloween-quest__lookup-tables {
    gap: 8px;
  }
  .halloween-quest__lookup-tables section {
    padding: 13px 10px;
  }
  .halloween-quest__lookup-tables h3 {
    font-size: 12px;
    line-height: 1.5;
  }
  .halloween-quest__lookup-tables dl > div {
    font-size: 11px;
  }
  .halloween-quest__final-code {
    font-size: 25px;
    letter-spacing: 6px;
    padding-left: 14px;
  }
  .halloween-quest__chest > strong {
    font-size: 13px;
  }
  .halloween-quest__chest-symbol {
    font-size: 19px;
    top: 42%;
  }
  .halloween-quest__chest-select {
    font-size: 11px;
  }
  .halloween-quest__hints {
    padding: 16px 14px;
    gap: 13px;
  }
  .halloween-quest__hint-button {
    min-height: 44px;
    width: 100%;
    font-size: 13px;
  }
  .halloween-quest__hint-list {
    font-size: 14px;
  }
  .halloween-quest__clue-details summary {
    font-size: 12px;
  }
  .halloween-quest__clue-details ul {
    font-size: 13px;
  }
  .halloween-quest__notes textarea {
    font-size: 16px;
  }
  .halloween-quest__notes small {
    font-size: 11px;
  }
}
@media (min-width: 1600px) {
  .halloween-quest {
    --hq-content-width: 1400px;
  }
  .halloween-quest__layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
@media (max-width: 1080px) {
  .halloween-quest__content {
    padding: 28px 24px 22px;
  }
  .halloween-quest__hero {
    padding-left: 30px;
    padding-right: 30px;
  }
  .halloween-quest__layout {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 268px;
  }
  .halloween-quest__scene {
    padding: 20px 17px;
  }
  .halloween-quest__options {
    gap: 7px;
  }
  .halloween-quest__option-label {
    font-size: 11px;
  }
  .halloween-quest__option-select {
    font-size: 11px;
  }
  .halloween-quest__answer-footer > p {
    max-width: 136px;
  }
  .halloween-quest__global {
    padding-left: 18px;
    padding-right: 18px;
  }
  .halloween-quest__shelest-quote {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .halloween-quest__progress-count strong {
    font-size: 23px;
  }
  .halloween-quest__hero-stamp {
    right: 25px;
    bottom: 44px;
  }
}
@media (max-width: 860px) {
  .halloween-quest__layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 15px;
  }
  .halloween-quest__content {
    padding: 27px 18px 18px;
  }
  .halloween-quest__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .halloween-quest__options--characters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .halloween-quest__option {
    padding-bottom: 11px;
  }
  .halloween-quest__option-art {
    max-width: 118px;
  }
  .halloween-quest__option-label {
    font-size: 12px;
  }
  .halloween-quest__bag-symbol {
    font-size: 20px;
  }
  .halloween-quest__option--character {
    padding-left: 7px;
    padding-right: 7px;
  }
  .halloween-quest__option--character .halloween-quest__option-art {
    height: 90px;
  }
  .halloween-quest__option--character .halloween-quest__option-label {
    font-size: 11px;
  }
  .halloween-quest__character-name {
    font-size: 11px;
  }
  .halloween-quest__scene-badge {
    display: none;
  }
  .halloween-quest__scene h2 {
    font-size: 22px;
  }
  .halloween-quest__answer-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .halloween-quest__answer-footer > p {
    max-width: none;
    justify-content: center;
  }
  .halloween-quest__hero {
    min-height: 520px;
    background-position: 60% center;
  }
  .halloween-quest__hero-stamp {
    right: 20px;
    bottom: 31px;
    font-size: 11px;
    padding: 11px;
  }
  .halloween-quest__hero-stamp svg {
    width: 25px;
  }
  .halloween-quest__hero-stamp strong {
    font-size: 14px;
  }
  .halloween-quest__hero-stamp span {
    font-size: 11px;
  }
  .halloween-quest__hero-copy {
    max-width: 350px;
  }
  .halloween-quest__title {
    font-size: 55px;
  }
  .halloween-quest__global > h2 {
    font-size: 15px;
  }
  .halloween-quest__progress-count strong {
    font-size: 20px;
  }
  .halloween-quest__progress-count > span {
    font-size: 12px;
  }
  .halloween-quest__cipher-legend > div {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 12px;
  }
  .halloween-quest__cipher-pair b {
    font-size: 25px;
  }
}
@media (max-width: 700px) {
  .halloween-quest__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .halloween-quest__sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px;
    align-items: start;
  }
  .halloween-quest__section-heading h2 {
    font-size: 20px;
  }
  .halloween-quest__save {
    font-size: 11px;
  }
  .halloween-quest__scene {
    padding: 23px;
  }
  .halloween-quest__options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .halloween-quest__options--characters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .halloween-quest__option-label {
    font-size: 11px;
  }
  .halloween-quest__answer-footer {
    flex-direction: row;
    align-items: center;
  }
  .halloween-quest__answer-footer > p {
    max-width: 185px;
  }
  .halloween-quest__option--character {
    padding-left: 12px;
    padding-right: 12px;
  }
  .halloween-quest__option--character .halloween-quest__option-art {
    height: 112px;
  }
  .halloween-quest__option--character .halloween-quest__option-label {
    font-size: 12px;
  }
  .halloween-quest__character-name {
    font-size: 13px;
  }
  .halloween-quest__bag-symbol {
    font-size: 18px;
  }
  .halloween-quest__cipher-legend > div {
    grid-template-columns: repeat(6, 1fr);
  }
  .halloween-quest__hero {
    background-position: 68% center;
  }
  .halloween-quest__hero::before {
    background: linear-gradient(90deg, rgba(17, 10, 27, 0.9), rgba(17, 10, 27, 0.66) 45%, rgba(17, 10, 27, 0.12)), linear-gradient(0deg, var(--hq-bg), transparent 34%);
  }
}
@media (max-width: 500px) {
  .halloween-quest__hero {
    min-height: 0;
    padding: 12px 20px 26px;
    background-size: auto 390px;
    background-repeat: no-repeat;
    background-position: 66% 0;
  }
  .halloween-quest__hero::before {
    background: linear-gradient(0deg, var(--hq-bg) 3%, rgba(19, 12, 31, 0.94) 26%, rgba(19, 12, 31, 0.62) 53%, rgba(19, 12, 31, 0.18) 86%), linear-gradient(90deg, rgba(19, 12, 31, 0.45), transparent);
  }
  .halloween-quest__back {
    font-size: 12px;
    min-height: 44px;
  }
  .halloween-quest__hero-content {
    padding-top: 105px;
  }
  .halloween-quest__hero-kicker {
    margin-top: 0 !important;
    font-size: 13px;
    line-height: 1.5;
  }
  .halloween-quest__title {
    font-size: clamp(38px, 11.5vw, 49px);
    letter-spacing: -1.5px;
    margin-top: 8px !important;
  }
  .halloween-quest__hero-copy {
    max-width: 370px;
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px !important;
  }
  .halloween-quest__hero-content > .halloween-quest__button {
    width: 100%;
    min-height: 52px;
    font-size: 14px;
    padding: 14px 12px;
    gap: 9px;
    margin-top: 20px;
  }
  .halloween-quest__hero-facts {
    font-size: 12px;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  .halloween-quest__hero-stamp {
    display: none;
  }
  .halloween-quest__content {
    padding: 23px 12px 20px;
  }
  .halloween-quest__section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 10px;
  }
  .halloween-quest__section-heading h2 {
    font-size: 20px;
  }
  .halloween-quest__section-heading .halloween-quest__overline {
    font-size: 11px;
    letter-spacing: 0.8px;
  }
  .halloween-quest__save {
    font-size: 12px;
    gap: 6px;
    white-space: normal;
    line-height: 1.5;
    padding-bottom: 0;
  }
  .halloween-quest__route {
    margin-bottom: 20px;
  }
  .halloween-quest__route-step {
    font-size: 11px;
  }
  .halloween-quest__route-step small {
    font-size: 11px;
  }
  .halloween-quest__route-number {
    width: 31px;
    height: 31px;
    font-size: 13px;
  }
  .halloween-quest__route-step::before {
    top: 15px;
  }
  .halloween-quest__board {
    min-height: 0;
  }
  .halloween-quest__scene {
    padding: 19px 14px;
  }
  .halloween-quest__scene h2 {
    font-size: 22px;
    line-height: 1.25;
  }
  .halloween-quest__scene-tag {
    font-size: 11px;
    padding: 6px 8px;
    line-height: 1.5;
  }
  .halloween-quest__scene-description {
    font-size: 13px;
    line-height: 1.75;
  }
  .halloween-quest__dialogue {
    padding: 12px 10px 12px 8px;
    gap: 9px;
  }
  .halloween-quest__dialogue p {
    font-size: 12px;
  }
  .halloween-quest__dialogue strong {
    font-size: 11px;
  }
  .halloween-quest__dialogue-avatar {
    width: 42px;
    height: 53px;
  }
  .halloween-quest__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }
  .halloween-quest__options--characters {
    grid-template-columns: minmax(0, 1fr);
  }
  .halloween-quest__option-art {
    max-width: 136px;
  }
  .halloween-quest__bag-symbol {
    font-size: 23px;
  }
  .halloween-quest__option-label {
    font-size: 12px;
    line-height: 1.65;
  }
  .halloween-quest__option-select {
    font-size: 11px;
  }
  .halloween-quest__option--character {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 0 13px;
    text-align: left;
    padding: 18px 14px 12px 9px;
  }
  .halloween-quest__option--character .halloween-quest__option-art {
    width: 74px;
    height: 98px;
    grid-row: span 3;
    margin: 0;
  }
  .halloween-quest__option--character .halloween-quest__character-name {
    margin-top: 4px;
    margin-bottom: 5px;
    text-align: left;
    font-size: 13px;
  }
  .halloween-quest__option--character .halloween-quest__option-label {
    text-align: left;
    font-size: 12px;
  }
  .halloween-quest__option--character .halloween-quest__option-select {
    padding-top: 8px;
    margin-top: 8px;
    justify-content: flex-start;
  }
  .halloween-quest__option--character .halloween-quest__option-index {
    left: 10px;
    top: 7px;
  }
  .halloween-quest__answer-footer {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
    padding-top: 15px;
  }
  .halloween-quest__answer-footer > p {
    justify-content: flex-start;
    max-width: none;
    font-size: 12px;
  }
  .halloween-quest__answer-footer .halloween-quest__button {
    margin-top: 4px;
    padding: 14px 15px;
    font-size: 14px;
  }
  .halloween-quest__sidebar {
    display: flex;
    align-items: stretch;
    gap: 16px;
  }
  .halloween-quest__journal-head {
    margin-left: 23px;
    margin-right: 23px;
    padding-top: 22px;
  }
  .halloween-quest__journal-items {
    padding-left: 23px;
    padding-right: 23px;
  }
  .halloween-quest__clue {
    padding-top: 17px;
    padding-bottom: 17px;
    gap: 12px;
  }
  .halloween-quest__clue h3 {
    font-size: 14px;
  }
  .halloween-quest__clue p {
    font-size: 13px;
  }
  .halloween-quest__journal-footer {
    font-size: 11px;
  }
  .halloween-quest__global {
    padding: 22px 22px 0;
  }
  .halloween-quest__global > h2 {
    font-size: 20px;
  }
  .halloween-quest__global > .halloween-quest__overline {
    font-size: 11px;
  }
  .halloween-quest__pumpkin {
    width: 200px;
    height: 176px;
  }
  .halloween-quest__pumpkin svg {
    width: 172px;
    height: 172px;
  }
  .halloween-quest__locks {
    gap: 24px;
    padding-bottom: 20px;
  }
  .halloween-quest__lock {
    width: 57px;
  }
  .halloween-quest__lock svg {
    width: 25px;
    height: 28px;
  }
  .halloween-quest__lock span {
    font-size: 12px;
  }
  .halloween-quest__lock small {
    font-size: 11px;
  }
  .halloween-quest__lock::after {
    right: -27px;
    width: 24px;
  }
  .halloween-quest__progress-heading {
    font-size: 13px;
  }
  .halloween-quest__progress-heading strong {
    font-size: 13px;
  }
  .halloween-quest__progress {
    height: 10px;
  }
  .halloween-quest__progress-count strong {
    font-size: 31px;
  }
  .halloween-quest__progress-count > span {
    font-size: 13px;
  }
  .halloween-quest__remaining {
    font-size: 12px;
  }
  .halloween-quest__players {
    font-size: 12px;
  }
  .halloween-quest__shelest-quote {
    margin-left: -22px;
    margin-right: -22px;
    padding: 17px 22px 19px;
  }
  .halloween-quest__shelest-quote p {
    font-size: 13px;
  }
  .halloween-quest__shelest-quote span {
    font-size: 11px;
  }
  .halloween-quest__landing {
    padding: 25px 20px 28px;
  }
  .halloween-quest__landing h2 {
    font-size: 23px;
  }
  .halloween-quest__landing > p {
    font-size: 13px;
  }
  .halloween-quest__landing-art {
    margin-top: 14px;
  }
  .halloween-quest__landing-reward {
    font-size: 11px;
    line-height: 1.5;
  }
  .halloween-quest__landing-reward strong {
    font-size: 13px;
  }
  .halloween-quest__landing > .halloween-quest__button {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }
  .halloween-quest__footnote {
    font-size: 11px;
    margin-top: 26px;
  }
  .halloween-quest__tip {
    padding: 14px;
  }
  .halloween-quest__tip p {
    font-size: 11px;
  }
  .halloween-quest__cipher-legend > div {
    grid-template-columns: repeat(3, 1fr);
    gap: 13px 10px;
  }
  .halloween-quest__cipher-pair b {
    font-size: 28px;
  }
  .halloween-quest__cipher-label {
    font-size: 11px;
  }
  .halloween-quest__cipher-hint {
    padding: 12px;
    font-size: 12px;
  }
  .halloween-quest__cipher-sequence {
    gap: 8px;
  }
  .halloween-quest__cipher-sequence > span {
    width: 54px;
    height: 64px;
    font-size: 31px;
  }
  .halloween-quest__code-help {
    font-size: 11px;
  }
  .halloween-quest__result {
    padding: 27px 20px;
  }
  .halloween-quest__result h2 {
    font-size: 29px;
  }
  .halloween-quest__result > p {
    font-size: 13px;
  }
  .halloween-quest__result-actions .halloween-quest__button {
    width: 100%;
    padding-left: 11px;
    padding-right: 11px;
    font-size: 14px;
  }
  .halloween-quest__personal-reward {
    padding: 13px;
    gap: 10px;
  }
  .halloween-quest__personal-reward strong {
    font-size: 13px;
  }
  .halloween-quest__personal-reward span {
    font-size: 11px;
  }
  .halloween-quest__personal-reward svg {
    width: 28px;
  }
  .halloween-quest__cinematic {
    padding: 28px 15px;
  }
  .halloween-quest__cinematic-inner {
    padding: 25px 5px 10px;
  }
  .halloween-quest__cinematic-inner h2 {
    font-size: 29px;
  }
  .halloween-quest__cinematic-inner > .halloween-quest__overline {
    font-size: 11px;
  }
  .halloween-quest__cinematic-inner--finale h2 {
    font-size: 36px;
  }
  .halloween-quest__cinematic-art {
    width: 230px;
    height: 211px;
  }
  .halloween-quest__cinematic-line {
    font-size: 13px;
    min-height: 101px;
    max-width: 310px;
  }
  .halloween-quest__skip {
    top: -13px;
    right: -3px;
    font-size: 11px;
    min-height: 44px;
  }
  .halloween-quest__cinematic-inner > .halloween-quest__button {
    min-width: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .halloween-quest *, .halloween-quest *::before, .halloween-quest *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes hqTwinkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.1);
  }
}
@keyframes hqFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes hqUnlock {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.2) rotate(-8deg);
    filter: brightness(1.8);
  }
  60% {
    transform: scale(1.1) rotate(7deg);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes hqAppear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hqCandyFall {
  0% {
    top: -50px;
    opacity: 0;
    transform: rotate(0);
  }
  8% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 105%;
    opacity: 0;
    transform: rotate(var(--hq-spin));
  }
}
@keyframes hqBagBurst {
  0% {
    transform: scale(0.85);
  }
  38% {
    transform: scale(1.12) rotate(-6deg);
    filter: brightness(1.7);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes hqCandyBurst {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--hq-burst-x), var(--hq-burst-y)) rotate(65deg);
    opacity: 1;
  }
}
@keyframes hqSealError {
  0%, 100% {
    border-color: #856050;
  }
  35% {
    border-color: #ff686a;
    box-shadow: 0 0 28px rgba(235, 62, 81, 0.4), inset 0 0 24px rgba(235, 62, 81, 0.18);
  }
}
@keyframes hqPumpkinWiggle {
  0%, 100% {
    transform: rotate(0);
  }
  20%, 60% {
    transform: rotate(-9deg);
  }
  40%, 80% {
    transform: rotate(9deg);
  }
}
@keyframes hqPumpkinHop {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  22% {
    transform: translateY(5px) scale(1.08, 0.9);
  }
  50% {
    transform: translateY(-22px) scale(0.96, 1.05);
  }
  80% {
    transform: translateY(2px) scale(1.04, 0.96);
  }
}
@keyframes hqPumpkinMagic {
  0%, 100% {
    transform: scale(1) rotate(0);
  }
  35% {
    transform: scale(1.13) rotate(-7deg);
    filter: brightness(1.3) drop-shadow(0 0 22px rgba(255, 164, 54, 0.65));
  }
  70% {
    transform: scale(1.05) rotate(7deg);
  }
}
@keyframes hqPumpkinPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--hq-pop-x)), calc(-50% + var(--hq-pop-y))) rotate(var(--hq-pop-turn)) scale(0.75);
  }
}
