.quest-map {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #231e1c;
  background: #fff;
  padding: 0 20px 20px;
  border-radius: 16px;
  text-align: left;
}

.quest-map__canvas {
  height: 520px;
  width: 100%;
  border-radius: 12px;
  background: #eee9df;
  z-index: 0;
  font-family: "Fixel Display", sans-serif;
}

.quest-map__notice {
  background: #fff2c4;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.quest-map__progress {
  font-weight: 700;
  margin-bottom: 14px;
}

.quest-map__locations {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: -ms-grid;
  display: grid;
  gap: 12px;
}

.quest-map__locations li {
  padding: 16px;
  border: 1px solid #ddd5cf;
  border-radius: 12px;
}

.quest-map__locations li.is-complete {
  border-color: #387346;
  background: #f0f8ee;
}

.quest-map__locations strong {
  font-size: 18px;
}

.quest-map__locations [data-point-status] {
  display: inline-block;
  font-size: 13px;
  margin-left: 8px;
}

.quest-map__locations p {
  font-size: 14px;
  margin: 8px 0;
}

.quest-map__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.quest-map__links a,
.quest-map__links button {
  color: #432a23;
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 4px 0;
  font: inherit;
  cursor: pointer;
}

.quest-map__hint,
.quest-map__error {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}

.quest-map__error {
  color: #8a231f;
}

.quest-pin {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 60px;
  height: 44px;
  background: #eac73b;
  border: 3px solid #fff;
  border-radius: 22px 22px 22px 3px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3333333333);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3333333333);
  color: #231e1c;
  font: 700 14px "Fixel Display", sans-serif;
}

.quest-pin.is-complete {
  background: #387346;
  color: #fff;
  font-size: 14px;
}

.quest-popup {
  min-width: 150px;
  font: 500 14px/1.4 "Fixel Display", sans-serif;
}

.quest-popup p {
  margin: 8px 0;
}

.quest-popup a {
  color: #432a23;
  text-decoration: underline;
}

.quiz-result .quest-map {
  margin-top: 24px;
}

.quiz-result .quest-map__canvas {
  height: 320px;
}

@media (max-width: 480px) {
  .quest-map {
    padding: 0 12px 12px;
  }
  .quest-map__canvas {
    height: 540px;
  }
  .quest-map__locations li {
    padding: 12px;
  }
}