@import url("npc-forest.css?v=7");

.quest-list {
  display: flex;
  flex-direction: column;
  padding: 0.15rem 0.85rem 0.9rem;
}

.quest-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid #ffffff14;
  color: var(--ts-text);
  text-decoration: none;
}

.quest-item:hover {
  color: #fff;
}

.quest-item-title {
  font-size: 0.92rem;
  line-height: 1.4;
}

.quest-item.is-hot .quest-item-title {
  color: var(--ts-gold);
}

.quest-item-go {
  flex: 0 0 auto;
  font-size: 0.75rem;
  color: var(--ts-jade);
}

.quest-item:hover .quest-item-go {
  text-decoration: underline;
}

.quest-body {
  padding: 0.85rem 1.1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ts-text);
}

.quest-body h1,
.quest-body h2,
.quest-body h3,
.quest-body h4 {
  color: var(--ts-gold);
  margin: 1.1rem 0 0.45rem;
}

.quest-body a {
  color: var(--ts-jade);
}

.quest-body img {
  display: block;
  max-width: min(100%, 40rem);
  height: auto;
  margin: 0.65rem auto;
  border-radius: 0.4rem;
}

.quest-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.quest-body td,
.quest-body th {
  border-bottom: 1px solid #ffffff14;
  padding: 0.3rem 0.4rem;
  vertical-align: top;
}

.quest-body li {
  margin: 0.25rem 0;
}

body.quest-popup .page {
  padding-top: 1.5rem;
}

body.quest-popup .quest-body h1,
body.quest-popup .quest-body > h2:first-child {
  display: none;
}
