.entity-link-grid,
.entity-copy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entity-link-grid > li,
.entity-copy-list > li {
  min-width: 0;
  padding: 0.55rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.entity-list-meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.entity-inline-missing {
  color: var(--text-muted);
  text-decoration: underline dotted;
  text-underline-offset: 0.16em;
}

.entity-copy-list strong {
  color: var(--accent);
}

.entity-copy-list p {
  margin: 0.35rem 0 0;
}

.entity-table-scroll {
  max-height: 42rem;
  overflow: auto;
  border: 1px solid var(--border);
}

.skill-level-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--entity-panel-border, var(--border));
  border-radius: var(--entity-panel-radius, var(--radius));
  background: var(--entity-panel-bg, var(--surface-muted));
}

.skill-level-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.skill-level-row:last-child {
  border-bottom: 0;
}

.skill-level-row > strong {
  color: var(--accent);
}

.skill-level-row p {
  margin: 0;
  line-height: 1.5;
}

.skill-level-row__description,
.entity-lead--preserve-lines {
  white-space: pre-line;
}

.skill-level-row__description-en {
  margin-top: 0.35rem !important;
  color: var(--text-muted);
  font-size: 0.86rem;
  white-space: pre-line;
}

.skill-level-row--filterable {
  cursor: pointer;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.skill-level-row--filterable:hover,
.skill-level-row--filterable:focus-visible {
  background: rgba(51, 255, 167, 0.06);
  outline: none;
}

.skill-level-row--filterable.is-active {
  background: rgba(51, 255, 167, 0.1);
  box-shadow: inset 3px 0 0 var(--accent);
}

.skill-relations {
  margin-top: 1.35rem;
}

/* 筛选态：保持深色字保证可读，用描边提示「已筛选」 */
.entity-relation.is-filtered .entity-relation__count {
  color: #10251c;
  background: rgba(51, 255, 167, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.class-skill-group {
  border-top: 1px solid var(--border);
}

.class-skill-group h3 {
  margin: 0;
  padding: 0.7rem 0.2rem 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
}

.class-skill-group .entity-link-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.set-effects .entity-copy-list {
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}

.set-effects .entity-copy-list strong {
  color: var(--text);
}

.content-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: content-step;
}

.content-step {
  position: relative;
  display: block;
  padding: 1.35rem 0;
  counter-increment: content-step;
  border-bottom: none;
}

/* 主步骤后若紧跟打听/可选子行，分割线挪到子行末尾，避免切断列表 */
.content-step:not(:has(+ .content-step--alternative)) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-step:last-child {
  border-bottom: none;
}

.content-step.is-map-active {
  border-left: 2px solid var(--accent);
  padding-left: 0.65rem;
  margin-left: -0.1rem;
  background: rgba(51, 255, 167, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.content-step__branch {
  display: inline-block;
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.content-step__num {
  color: var(--accent);
  font-weight: 800;
  margin-right: 0.28rem;
}

.content-step__optional {
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

/* 打听/可选子行：与击杀目标同款无框竖排，避免比主列表更抢眼 */
.content-step--alternative {
  margin: 0;
  padding: 0.32rem 0;
  counter-increment: none;
  border: none;
  border-radius: 0;
  background: transparent;
}

.content-step--alternative:not(:has(+ .content-step--alternative)) {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-step--alternative .content-step__num {
  display: none;
}

.content-step--alternative .content-step__body,
.content-step--alternative .content-step__body p {
  color: var(--text);
}

.content-step__body,
.content-step__body p {
  min-width: 0;
  margin: 0;
  line-height: 1.65;
}

.quest-step-combat {
  display: grid;
  gap: 0.7rem;
}

/* 列表后的补充说明（超时、交回等）降为次要文案，配对步与多怪步同一套 */
.quest-step-trail,
.quest-step-combat > .quest-step-targets + p,
.quest-step-combat > .quest-step-collection + p,
.quest-step-combat > .quest-step-targets-fold + p,
.quest-step-combat > .quest-step-pairs + p {
  margin-top: 0.1rem;
  color: var(--text-muted);
  font-size: 0.92em;
  line-height: 1.55;
}

.quest-step-trail .quest-entity-ref,
.quest-step-trail .quest-entity-ref__link,
.quest-step-trail .quest-entity-ref__names {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  vertical-align: middle;
  max-width: 100%;
}

.quest-step-targets {
  display: grid;
  gap: 0.5rem;
}

.quest-step-targets-fold {
  padding: 0.15rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.quest-step-targets-fold > summary {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  list-style: none;
}

.quest-step-targets-fold > summary::-webkit-details-marker {
  display: none;
}

.quest-step-targets-fold[open] > summary {
  margin-bottom: 0.55rem;
  color: var(--text);
}

.quest-step-targets-fold .quest-step-targets {
  margin-top: 0.15rem;
}

.content-step__stage {
  margin: 0 0 0.35rem;
  color: var(--accent, #33ffa7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quest-hunt-areas {
  display: grid;
  gap: 0.4rem;
  margin: 0.15rem 0 0.55rem;
}

.quest-race-branches {
  display: grid;
  gap: 0.4rem;
  margin: 0.15rem 0 0.55rem;
}

.quest-race-branch {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.quest-race-branch > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.quest-race-branch > summary::-webkit-details-marker {
  display: none;
}

.quest-race-branch > summary::after {
  content: "▸";
  float: right;
  color: var(--text-muted);
}

.quest-race-branch[open] > summary::after {
  content: "▾";
}

.quest-race-branch__body {
  padding: 0 0.8rem 0.7rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.quest-reward-group--fold {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.03);
  margin: 0.4rem 0;
  overflow: hidden;
}

.quest-reward-group--fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.quest-reward-group--fold > summary::-webkit-details-marker {
  display: none;
}

.quest-reward-group--fold > summary span {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
}

.quest-reward-group--fold .quest-reward-group__items,
.quest-reward-group--fold .quest-step-targets {
  padding: 0 0.8rem 0.7rem;
}

.quest-step-class-rewards .quest-reward-group .quest-step-targets {
  padding: 0 0.8rem 0.75rem;
  margin-bottom: 0.35rem;
}

.quest-reward-bonus__hint {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quest-hunt-area {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.quest-hunt-area > summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  padding: 0.62rem 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.quest-hunt-area > summary::-webkit-details-marker {
  display: none;
}

.quest-hunt-area > summary::after {
  content: "▸";
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.15s ease;
}

.quest-hunt-area[open] > summary::after {
  transform: rotate(90deg);
}

.quest-hunt-area__label {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

.quest-hunt-area__name {
  min-width: 0;
}

.quest-hunt-area__level {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.quest-hunt-area .quest-step-targets {
  padding: 0 0.8rem 0.7rem;
}

.quest-hunt-areas__note {
  margin: 0.35rem 0 0.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.quest-hunt-areas__selection {
  margin: 0 0 0.4rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.quest-hunt-areas__drops {
  margin-top: 0.2rem;
}

.content-step--hunt-areas {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.85rem;
}

.quest-stage-fold {
  margin: 0;
}

.quest-stage-fold > summary {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  list-style: none;
  padding: 0.15rem 0;
  font-weight: 700;
}

.quest-stage-fold > summary::-webkit-details-marker {
  display: none;
}

.quest-stage-fold > summary::before {
  content: "▸";
  color: var(--text-muted);
  font-size: 0.85rem;
}

.quest-stage-fold[open] > summary::before {
  content: "▾";
}

.quest-stage-fold__title {
  color: var(--accent, #33ffa7);
  font-size: 0.92rem;
}

.quest-stage-fold .content-step__body {
  margin-top: 0.45rem;
  padding-left: 0.15rem;
}

.quest-step-attention {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(51, 255, 167, 0.35);
  border-radius: var(--radius-table);
  background: rgba(51, 255, 167, 0.05);
}

.quest-step-attention__title {
  margin: 0 0 0.35rem !important;
  color: var(--accent, #33ffa7);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.quest-step-gather,
.quest-step-attention {
  display: grid;
  gap: 0.45rem;
}

.quest-side-system {
  display: grid;
  gap: 1.25rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0.85rem 0 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quest-side-system__section {
  display: grid;
  gap: 0.55rem;
}

.quest-side-system__title {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.quest-side-system__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.quest-side-system__subhead {
  margin: 0.55rem 0 0.35rem;
  color: var(--accent, #33ffa7);
  font-size: 0.88rem;
  font-weight: 700;
}

.quest-side-system__note {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.quest-side-system__followup {
  margin: 0.15rem 0 0.25rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.quest-exchange-guild + .quest-exchange-guild {
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quest-exchange-npc {
  margin: 0.45rem 0 0.25rem;
  font-weight: 600;
}

.quest-side-system__panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.quest-side-system__panel > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.quest-side-system__panel > summary::-webkit-details-marker {
  display: none;
}

.quest-side-system__panel > summary::before {
  content: "▸ ";
  color: var(--text-muted);
}

.quest-side-system__panel[open] > summary::before {
  content: "▾ ";
}

.quest-side-system__body {
  padding: 0 0.85rem 0.85rem;
}

.quest-side-system__body--flat {
  padding: 0.15rem 0 0;
}

.quest-reward-summary {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.quest-reward-summary-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.55;
}

.quest-exchange-costline {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  line-height: 1.35;
}

.quest-exchange-costline__label {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--text-muted);
}

.quest-exchange-costline__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: center;
}

.quest-exchange-costline__items .quest-exchange-item,
.quest-exchange-costline__items .quest-entity-ref {
  margin: 0;
}

.quest-exchange-costline .quest-entity-ref__names strong {
  font-size: 0.82rem;
  font-weight: 600;
}

.quest-exchange-costline .quest-entity-ref__names small {
  display: none;
}

.quest-exchange-subgroup + .quest-exchange-subgroup {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quest-exchange-list--rewards {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.quest-exchange-row--reward {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.42rem 0.7rem;
}

.quest-exchange-row--reward + .quest-exchange-row--reward {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quest-exchange-row--reward .quest-entity-ref {
  min-width: 0;
  max-width: 100%;
}

.quest-exchange-row--reward .quest-entity-ref__names {
  min-width: 0;
}

.quest-exchange-row--reward .quest-entity-ref__names strong {
  font-size: 0.9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.quest-exchange-row--compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.quest-exchange-cell--item,
.quest-exchange-cell--cost {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: center;
  gap: 0.28rem 0.4rem;
}

.quest-exchange-cell--item .quest-entity-ref__names strong {
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.quest-exchange-cell--cost {
  justify-content: flex-start;
}

.quest-exchange-cell--cost .quest-entity-ref__names strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.quest-step-target {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.28rem 0.4rem;
}

.quest-step-target__meta {
  color: var(--text-muted);
  font-size: 0.92em;
}

.quest-step-talk-receive {
  display: grid;
  gap: 0.35rem;
}

.quest-step-talk-receive + .quest-step-talk-receive {
  margin-top: 0.55rem;
}

.quest-step-pairs {
  display: grid;
  gap: 0.55rem;
  width: 100%;
}

.quest-step-pair {
  display: block;
  width: 100%;
  line-height: 1.55;
}

.quest-step-pair__verb {
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  margin-right: 0.2rem;
}

.quest-step-pair__left,
.quest-step-pair__mid,
.quest-step-pair__right {
  display: inline;
}

.quest-step-pair__verb + .quest-step-pair__left,
.quest-step-pair__verb + .quest-step-pair__mid,
.quest-step-pair__verb + .quest-step-pair__right {
  margin-right: 0.2rem;
}

.quest-step-pair .quest-entity-ref,
.quest-step-pair .quest-entity-ref__link,
.quest-step-pair .quest-entity-ref__names {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  vertical-align: middle;
  max-width: 100%;
}

.quest-step-pair .quest-step-target__meta {
  display: inline;
  margin-left: 0.15rem;
}

.quest-route-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.016);
}

.quest-route-picker__hint {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.quest-route-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.quest-route-picker__options button {
  min-height: 2.1rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.quest-route-picker__options button:hover,
.quest-route-picker__options button:focus-visible,
.quest-route-picker__options button.is-active {
  border-color: rgba(51, 255, 167, 0.45);
  background: rgba(51, 255, 167, 0.08);
  color: var(--accent);
}

.quest-route-panel {
  display: contents;
}

.quest-route-panel[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .quest-route-picker {
    align-items: flex-start;
    flex-direction: column;
  }
}

.quest-step-collection {
  display: grid;
  gap: 0.35rem;
}

.quest-step-collection > p {
  margin: 0;
}

.quest-step-per-item {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.quest-step-per-item + .quest-step-per-item {
  margin-top: 0.55rem;
}

.quest-step-per-item__head {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.quest-step-target--exchange {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.quest-step-exchange__give,
.quest-step-exchange__get {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
}

.quest-step-exchange {
  gap: 0.65rem;
}

/* 同一货币：表头写一次，行内只留数量 */
.quest-exchange-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.018);
}

.quest-exchange-table__head,
.quest-exchange-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 9.5rem);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
}

.quest-exchange-table__head {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.quest-exchange-table__row + .quest-exchange-table__row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quest-exchange-table__col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  min-width: 0;
}

.quest-exchange-table__col--cost {
  justify-content: flex-end;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.quest-exchange-table__head .quest-exchange-table__col--cost {
  justify-content: flex-end;
  gap: 0.35rem;
}

/* 货币不统一时的紧凑回退：商品 | 材料 */
.quest-exchange-list--compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-table);
  background: rgba(255, 255, 255, 0.018);
}

.quest-exchange-row--compact + .quest-exchange-row--compact {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quest-exchange-cost-prefix {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.quest-exchange-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.quest-exchange-item__amount {
  color: var(--text);
  white-space: nowrap;
}

.quest-exchange-details > summary {
  width: fit-content;
  padding: 0.45rem 0;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.quest-exchange-details[open] > summary {
  margin-bottom: 0.5rem;
}

@media (max-width: 560px) {
  .quest-exchange-table__head,
  .quest-exchange-table__row,
  .quest-exchange-row--compact {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
  }
}

.quest-entity-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0 0.12rem;
  vertical-align: middle;
  max-width: 100%;
  white-space: normal;
}

.quest-entity-break {
  display: inline;
}

.quest-entity-ref__link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: var(--brand);
  text-decoration: none;
}

.quest-entity-ref--rare .quest-entity-ref__link,
.quest-entity-ref--rare .quest-entity-ref__names strong {
  color: var(--entity-rare, #ffc44d);
}

.quest-entity-ref__icon {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 1.6rem;
  border-radius: 3px;
  object-fit: cover;
  vertical-align: middle;
}

.quest-entity-ref__names {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
  min-width: 0;
}

.quest-entity-ref__names strong {
  font-weight: 700;
}

.quest-entity-ref__names small {
  color: var(--text-muted);
  font-size: 0.72em;
}

.quest-map-link {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(51, 255, 167, 0.28);
  border-radius: 50%;
  background: rgba(51, 255, 167, 0.08);
  color: var(--accent);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.quest-map-link img {
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
}

.quest-map-link:hover,
.quest-map-link:focus-visible {
  border-color: var(--accent);
  background: rgba(51, 255, 167, 0.14);
  outline: none;
}

.content-step__images {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.7rem;
  width: 100%;
  align-items: stretch;
}

.content-step__images img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 420px;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #181818;
}

@media (max-width: 620px) {
  .entity-link-grid,
  .entity-copy-list {
    grid-template-columns: 1fr;
  }
}
