.heroquest-order-hero {
  --home-intro-position: center 35%;
}

.heroquest-order-page {
  background:
    linear-gradient(rgba(10, 10, 10, 0.94), rgba(19, 19, 19, 0.98)),
    repeating-linear-gradient(
      90deg,
      rgba(184, 134, 11, 0.025) 0,
      rgba(184, 134, 11, 0.025) 1px,
      transparent 1px,
      transparent 12px
    );
  color: #e5e2e1;
  padding: 3rem 1rem 5rem;
}

.heroquest-order-shell {
  width: min(1440px, 100%);
  margin-inline: auto;
}

.quest-order-intro,
.quest-order-sources {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin-inline: auto;
}

.quest-order-intro .article-copy,
.quest-order-sources {
  font-family: "Source Serif 4", serif;
}

.quest-order-intro sup {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68em;
}

.quest-order-intro sup a {
  color: #f7bd48;
  text-decoration: none;
}

.quest-order-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  border: 1px solid #5a403c;
  border-left-width: 4px;
  background: #1c1b1b;
  padding: 1.25rem;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.quest-order-notice h2 > .material-symbols-outlined {
  margin-top: -0.15rem;
  color: #f7bd48;
  font-size: 1.65rem;
}

.quest-order-notice h2,
.quest-order-notice h3 {
  margin: 0 0 0.65rem;
  color: #f5f5dc;
  font-family: "Noto Serif", serif;
  font-size: 1.3rem;
  line-height: 1.35;
}

.quest-order-notice p {
  margin: 0;
}

.quest-order-notice p + p {
  margin-top: 0.9rem;
}

.quest-order-notice--guidance {
  border-left-color: #b8860b;
}

.quest-order-notice--update {
  border-color: #8b0000;
  border-left-width: 4px;
  background:
    linear-gradient(135deg, rgba(139, 0, 0, 0.18), transparent 55%),
    #1c1b1b;
}

.quest-order-notice--update h2 > .material-symbols-outlined {
  color: #ffb4a8;
}

.quest-order-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.quest-order-details {
  border: 1px solid #5a403c;
  background: #131313;
}

.quest-order-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding: 1rem 1.15rem;
  text-transform: uppercase;
}

.quest-order-details summary::after {
  content: "+";
  color: #f7bd48;
  font-size: 1.25rem;
}

.quest-order-details[open] summary {
  border-bottom: 1px solid #5a403c;
}

.quest-order-details[open] summary::after {
  content: "−";
}

.quest-order-details__body {
  padding: 1rem 1.15rem 1.25rem;
}

.quest-order-details__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quest-order-details__body li {
  position: relative;
  padding-left: 1.35rem;
}

.quest-order-details__body li + li {
  margin-top: 0.9rem;
}

.quest-order-details__body li::before {
  content: "◆";
  position: absolute;
  top: 0.2rem;
  left: 0;
  color: #b8860b;
  font-size: 0.65rem;
}

.quest-type-guide {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.quest-type-guide div {
  border-left: 2px solid #8b0000;
  padding-left: 0.85rem;
}

.quest-type-guide dt {
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quest-type-guide dd {
  margin: 0.2rem 0 0;
  color: #e5e2e1;
}

.quest-order-controls,
.quest-order-index {
  margin-top: 2rem;
  border: 1px solid #5a403c;
  background:
    linear-gradient(180deg, rgba(42, 42, 42, 0.88), rgba(19, 19, 19, 0.96)),
    #131313;
  padding: clamp(1.25rem, 2vw, 2rem);
  box-shadow: inset 0 0 0 2px rgba(184, 134, 11, 0.08);
}

.quest-order-controls__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.quest-order-controls h2,
.quest-order-index h2,
.quest-order-sources > h2 {
  margin: 0;
  color: #f5f5dc;
  font-family: "Noto Serif", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.quest-order-controls__heading p:last-child {
  max-width: 62ch;
  margin: 0.75rem 0 0;
  color: #c8c8b0;
}

.quest-order-kicker {
  margin: 0 0 0.55rem;
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.quest-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.quest-filter,
.quest-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.7rem;
  border: 1px solid #b8860b;
  border-radius: 0;
  background: linear-gradient(180deg, #f7bd48, #8e6410);
  color: #271900;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  padding: 0.72rem 0.95rem;
  text-transform: uppercase;
  transition: border-color 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.quest-filter:hover,
.quest-filter:focus-visible,
.quest-filter-reset:hover,
.quest-filter-reset:focus-visible {
  border-color: #ffb4a8;
  outline: 1px solid #8b0000;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.4);
  filter: brightness(1.08);
}

.quest-filter[aria-pressed="false"] {
  border-color: #5a403c;
  background: #0e0e0e;
  color: #aa8984;
  box-shadow: none;
}

.quest-filter__mark {
  width: 0.68rem;
  height: 0.68rem;
  border: 1px solid currentColor;
  background: currentColor;
  transform: rotate(45deg);
}

.quest-filter[aria-pressed="false"] .quest-filter__mark {
  background: transparent;
}

.quest-filter-reset {
  flex: 0 0 auto;
  border-color: #5a403c;
  background: #0e0e0e;
  color: #f5f5dc;
}

.quest-filter-reset .material-symbols-outlined {
  color: #f7bd48;
  font-size: 1.1rem;
}

.quest-filter-status {
  margin: 1.15rem 0 0;
  color: #c8c8b0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.quest-filter-status strong {
  color: #f7bd48;
}

.quest-order-index__heading {
  margin-bottom: 1rem;
}

.quest-order-index__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quest-order-index__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  border: 1px solid #5a403c;
  background: #0e0e0e;
  color: #e5e2e1;
  font-family: "Source Serif 4", serif;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.quest-order-index__list a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  background: #8b0000;
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 0.7rem;
  padding: 0.45rem 0.55rem;
  height: 100%
}

.quest-order-index__list a {
  padding-right: 0.8rem;
}


.quest-order-index__list li {
  display: flex;
}

.quest-order-index__list a::after {
  content: "";
  width: 0.7rem;
}

.quest-order-index__list a:hover,
.quest-order-index__list a:focus-visible {
  border-color: #f7bd48;
  background: #1c1b1b;
  outline: 1px solid #8b0000;
  outline-offset: 2px;
}

.quest-timeline {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-block: 0.75rem;
}

.quest-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background:
    linear-gradient(180deg, transparent 0, #8b0000 4rem, #b8860b 50%, #8b0000 calc(100% - 4rem), transparent 100%);
  box-shadow: 0 0 16px rgba(139, 0, 0, 0.42);
  transform: translateX(-50%);
}

.quest-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: center;
  scroll-margin-top: 7rem;
}

.quest-entry[hidden],
.quest-order-index__list li[hidden] {
  display: none !important;
}

.quest-entry__image-frame,
.quest-entry__content {
  min-width: 0;
  border: 1px solid #5a403c;
  background: #131313;
  box-shadow:
    inset 0 0 0 2px rgba(184, 134, 11, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.28);
}

.quest-entry__image-frame {
  grid-column: 1;
  margin: 0;
  padding: 0.8rem;
}

.quest-entry__image-frame img {
  display: block;
  width: 100%;
  height: clamp(260px, 32vw, 430px);
  object-fit: contain;
  background: #0e0e0e;
}

.quest-entry__marker {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  justify-self: center;
  border: 3px solid #b8860b;
  background: #8b0000;
  color: #f5f5dc;
  box-shadow:
    0 0 0 5px #131313,
    0 0 0 6px #5a403c,
    0 0 18px rgba(184, 134, 11, 0.35);
  transform: rotate(45deg);
}

.quest-entry__marker span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  transform: rotate(-45deg);
}

.quest-entry__content {
  grid-column: 3;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.quest-entry:nth-child(even) .quest-entry__image-frame {
  grid-column: 3;
}

.quest-entry:nth-child(even) .quest-entry__content {
  grid-column: 1;
  grid-row: 1;
}

.quest-entry__eyebrow {
  margin: 0 0 0.55rem;
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quest-entry__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  color: #ffb4a8;
  font-family: "Noto Serif", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.15;
}

.quest-entry__code {
  display: inline-flex;
  border: 1px solid #b8860b;
  background: #0e0e0e;
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.48rem;
  text-transform: uppercase;
  align-self: center;
}

.quest-entry__book {
  margin: 0.65rem 0 0;
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quest-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.quest-entry__tags li {
  background: #8b0000;
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25;
  padding: 0.3rem 0.45rem;
}

.quest-entry__placement-note {
  margin: 1rem 0 0;
  border-left: 3px solid #b8860b;
  background: #0e0e0e;
  color: #c8c8b0;
  font-size: 0.9rem;
  padding: 0.75rem 0.9rem;
}

.quest-entry__copy {
  margin-top: 1.25rem;
  color: #e5e2e1;
  font-family: "Source Serif 4", serif;
  font-size: 1rem;
  line-height: 1.65;
}

.quest-entry__copy p {
  margin: 0;
}

.quest-entry__copy p + p {
  margin-top: 0.9rem;
}

.quest-entry__copy a,
.quest-order-sources a,
.quest-entry__placement-note a {
  color: #f7bd48;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.quest-order-sources a.btn-subscribe{
  color: var(--grim-on-secondary);
}

.quest-entry__copy a:hover,
.quest-entry__copy a:focus-visible,
.quest-order-sources a:hover,
.quest-order-sources a:focus-visible {
  color: #ffb4a8;
}

.quest-entry__purchase {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  margin-top: 1.25rem;
  border-top: 1px solid #5a403c;
  padding-top: 1rem;
}

.quest-entry__purchase > span {
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quest-entry__purchase > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
}

.quest-entry__purchase a {
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-decoration-color: #b8860b;
  text-underline-offset: 0.2em;
}

.quest-entry--hero .quest-entry__content,
.quest-entry--hero .quest-entry__image-frame {
  border-color: #b8860b;
  background:
    linear-gradient(145deg, rgba(184, 134, 11, 0.09), transparent 44%),
    #131313;
}

.quest-entry--hero .quest-entry__marker {
  border-color: #ffb4a8;
  background: #ba880f;
  color: #271900;
}

.quest-entry--hero .quest-entry__title {
  color: #f7bd48;
}

.quest-order-sources {
  margin-top: 3rem;
}

.quest-order-sources > h2 {
  margin-bottom: 1.5rem;
}

.quest-source-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: source;
  list-style: none;
}

.quest-source-list li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  border: 1px solid #353534;
  border-left: 4px solid #8b0000;
  background: #0e0e0e;
  padding: 1rem 1rem 1rem 3.25rem;
  counter-increment: source;
  scroll-margin-top: 7rem;
}

.quest-source-list li::before {
  content: counter(source, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 0.9rem;
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.quest-source-list strong {
  color: #f5f5dc;
  font-family: "Noto Serif", serif;
}

.quest-order-source-note {
  margin-top: 1.5rem;
  border-top: 1px solid #5a403c;
  padding-top: 1.5rem;
}

.quest-order-source-note p {
  margin: 0;
}

.quest-order-source-note p + p {
  margin-top: 1rem;
}

.quest-order-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.quest-order-contact .material-symbols-outlined {
  font-size: 1.1rem;
}

@media (max-width: 991.98px) {
  .heroquest-order-page {
    padding-top: 2rem;
  }

  .quest-order-details-grid {
    grid-template-columns: 1fr;
  }

  .quest-timeline {
    gap: 2rem;
    padding-left: 2.75rem;
  }

  .quest-timeline::before {
    left: 1rem;
    transform: none;
  }

  .quest-entry,
  .quest-entry:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quest-entry__image-frame,
  .quest-entry:nth-child(even) .quest-entry__image-frame {
    grid-column: 1;
    grid-row: 1;
    border-bottom: 0;
  }

  .quest-entry__content,
  .quest-entry:nth-child(even) .quest-entry__content {
    grid-column: 1;
    grid-row: 2;
  }

  .quest-entry__marker {
    position: absolute;
    top: 2rem;
    left: -3.5rem;
    width: 42px;
    height: 42px;
  }

  .quest-entry__image-frame img {
    height: clamp(240px, 60vw, 390px);
  }
}

@media (max-width: 767.98px) {
  .heroquest-order-page {
    padding-inline: 0.75rem;
    padding-bottom: 3rem;
  }

  .quest-order-controls__heading {
    display: grid;
  }

  .quest-filter-reset {
    width: 100%;
  }

  .quest-filter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quest-filter {
    width: 100%;
  }

  .quest-order-index__list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quest-order-index__list a {
    width: 100%;
  }

  .quest-entry__purchase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479.98px) {
  .quest-order-notice {
    grid-template-columns: 1fr;
  }

  .quest-filter-list {
    grid-template-columns: 1fr;
  }

  .quest-timeline {
    padding-left: 2rem;
  }

  .quest-timeline::before {
    left: 0.5rem;
  }

  .quest-entry__marker {
    left: -2.75rem;
    width: 36px;
    height: 36px;
    border-width: 2px;
  }

  .quest-entry__marker span {
    font-size: 0.62rem;
  }

  .quest-entry__content {
    padding: 1rem;
  }

  .quest-entry__image-frame {
    padding: 0.55rem;
  }

  .quest-entry__image-frame img {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quest-filter,
  .quest-filter-reset,
  .quest-order-index__list a {
    transition: none;
  }
}

/* Revised filter panel, adventure index, and concurrent opening row */
.quest-order-details--changelog {
  margin-top: 2rem;
}

.quest-filter-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.quest-filter-clear {
  border-color: #8b0000;
  color: #ffb4a8;
}

.quest-filter-clear .material-symbols-outlined {
  color: #ffb4a8;
}

.quest-tag-guide {
  margin-top: 1.5rem;
  border-top: 1px solid #5a403c;
  padding-top: 1.5rem;
}

.quest-tag-guide__heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.quest-tag-guide__heading h3 {
  margin: 0;
  color: #f5f5dc;
  font-family: "Noto Serif", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}

.quest-tag-guide__heading p:last-child,
.quest-tag-guide__note {
  margin: 0;
  color: #c8c8b0;
}

.quest-tag-guide__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.quest-tag-guide__list > div {
  min-width: 0;
  border: 1px solid #353534;
  border-left: 3px solid #8b0000;
  background: #0e0e0e;
  padding: 0.9rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.05);
}

.quest-tag-guide__list dt {
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quest-tag-guide__list dd {
  margin: 0.35rem 0 0;
  color: #e5e2e1;
  font-family: "Source Serif 4", serif;
  line-height: 1.5;
}

.quest-tag-guide__note {
  margin-top: 1rem;
  font-family: "Source Serif 4", serif;
}

.quest-order-index__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quest-order-index__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.6rem;
  border: 1px solid #5a403c;
  border-radius: 0;
  background: #0e0e0e;
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.65rem 0.8rem;
  text-transform: uppercase;
}

.quest-order-index__toggle .material-symbols-outlined {
  color: #f7bd48;
  font-size: 1.15rem;
}

.quest-timeline > .quest-entry .quest-entry__image-frame {
  grid-column: 1;
}

.quest-timeline > .quest-entry .quest-entry__content {
  grid-column: 3;
  grid-row: 1;
}

.quest-timeline > .quest-entry.quest-entry--reverse .quest-entry__image-frame {
  grid-column: 3;
}

.quest-timeline > .quest-entry.quest-entry--reverse .quest-entry__content {
  grid-column: 1;
  grid-row: 1;
}

.quest-concurrent {
  position: relative;
  z-index: 1;
  min-width: 0;
  scroll-margin-top: 7rem;
}

.quest-concurrent[hidden] {
  display: none !important;
}

.quest-concurrent__label {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 auto 1rem;
  border: 2px solid #b8860b;
  background: #0e0e0e;
  color: #f7bd48;
  box-shadow:
    0 0 0 5px #131313,
    0 0 0 6px #5a403c,
    0 0 18px rgba(184, 134, 11, 0.28);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.quest-concurrent__label .material-symbols-outlined {
  color: #ffb4a8;
  font-size: 1.15rem;
}

.quest-concurrent__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 1.25rem;
}

.quest-concurrent--single .quest-concurrent__grid {
  grid-template-columns: minmax(0, min(680px, 100%));
  justify-content: center;
}

.quest-entry--concurrent-card,
.quest-entry--concurrent-card:nth-child(even) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-width: 0;
}

.quest-entry--concurrent-card .quest-entry__image-frame,
.quest-entry--concurrent-card:nth-child(even) .quest-entry__image-frame {
  flex: 0 0 auto;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  margin: 0;
  border-bottom: 0;
}

.quest-entry--concurrent-card .quest-entry__image-frame img {
  height: clamp(260px, 28vw, 390px);
}

.quest-entry--concurrent-card .quest-entry__content,
.quest-entry--concurrent-card:nth-child(even) .quest-entry__content {
  position: relative;
  flex: 1 1 auto;
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  border-top: 1px solid #353534;
}

.quest-concurrent-card__marker {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 2.8rem;
  min-height: 2.25rem;
  border-left: 1px solid #b8860b;
  border-bottom: 1px solid #b8860b;
  background: #8b0000;
  color: #f5f5dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
}

.quest-entry--concurrent-card .quest-entry__eyebrow {
  padding-right: 3rem;
}

.quest-source-screenshot {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #b8860b;
  background: #131313;
  color: #f7bd48;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
}

.quest-source-screenshot:hover,
.quest-source-screenshot:focus-visible {
  border-color: #ffb4a8;
  color: #ffb4a8;
  outline: 1px solid #8b0000;
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .quest-tag-guide__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quest-concurrent__grid {
    grid-template-columns: 1fr;
  }

  .quest-entry--concurrent-card,
  .quest-entry--concurrent-card:nth-child(even) {
    display: flex;
  }

  .quest-entry--concurrent-card .quest-entry__image-frame,
  .quest-entry--concurrent-card:nth-child(even) .quest-entry__image-frame {
    border-bottom: 0;
  }

  .quest-entry--concurrent-card .quest-entry__content,
  .quest-entry--concurrent-card:nth-child(even) .quest-entry__content {
    grid-column: auto;
    grid-row: auto;
  }

  .quest-timeline > .quest-entry .quest-entry__image-frame,
  .quest-timeline > .quest-entry.quest-entry--reverse .quest-entry__image-frame {
    grid-column: 1;
    grid-row: 1;
  }

  .quest-timeline > .quest-entry .quest-entry__content,
  .quest-timeline > .quest-entry.quest-entry--reverse .quest-entry__content {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 767.98px) {
  .quest-filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .quest-filter-actions .quest-filter-reset {
    width: 100%;
  }

  .quest-tag-guide__list {
    grid-template-columns: 1fr;
  }

  .quest-order-index__heading {
    align-items: flex-end;
  }

  .quest-order-index__toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .quest-order-index__list[hidden] {
    display: none !important;
  }

  .quest-concurrent__label {
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 479.98px) {
  .quest-filter-actions {
    grid-template-columns: 1fr;
  }

  .quest-order-index__heading {
    display: grid;
    align-items: stretch;
  }

  .quest-order-index__toggle {
    width: 100%;
  }

  .quest-entry--concurrent-card .quest-entry__image-frame img {
    height: 250px;
  }
}
