.lore-page {
  --red: #546f39;
  --red-dark: #293b2c;
  --gold: #c4a253;
  --night: #111912;
  --night-soft: #1b271d;
  background:
    radial-gradient(circle at 15% 10%, rgba(83, 113, 58, 0.13), transparent 34rem),
    #f0ecdf;
}

.lore-page .site-bar {
  background: rgba(12, 20, 14, 0.97);
}

.lore-page .localization-switcher a[aria-current="page"] {
  color: #172013;
  background: #c4a253;
  border-color: #c4a253;
}

.lore-page .hero {
  min-height: 670px;
  background:
    linear-gradient(100deg, rgba(6, 13, 9, 0.99) 0%, rgba(13, 23, 16, 0.94) 43%, rgba(19, 22, 24, 0.46) 72%, rgba(20, 17, 31, 0.3) 100%),
    #0e1710;
}

.lore-page .hero::before {
  right: -9vw;
  bottom: -39vw;
  border-color: rgba(196, 162, 83, 0.4);
  box-shadow:
    0 0 0 80px rgba(196, 162, 83, 0.03),
    0 0 0 160px rgba(196, 162, 83, 0.02);
}

.lore-page .hero::after {
  opacity: 0.94;
  background: url("/localization-assets/lands-of-lore/lands-of-lore-box-front.jpg") right 7vw center / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 34%, rgba(0, 0, 0, 0.42) 52%, #000 71%);
  mask-image: linear-gradient(90deg, transparent 0 34%, rgba(0, 0, 0, 0.42) 52%, #000 71%);
}

.lore-page .hero h1 {
  max-width: 780px;
  font-size: clamp(4rem, 8.5vw, 8rem);
}

.lore-page .hero h1 span {
  color: #d0c39c;
}

.lore-page .eyebrow,
.lore-page .section-kicker.light {
  color: #d6b866;
}

.lore-page .primary-button,
.lore-page .download-button {
  background: #627f41;
}

.lore-page .primary-button:hover,
.lore-page .primary-button:focus-visible {
  background: #75964e;
}

.lore-page .hero-seal {
  color: #dbc274;
  background: rgba(10, 20, 12, 0.78);
  border-color: rgba(219, 194, 116, 0.78);
}

.lore-page .intro-copy p + p {
  margin-top: 18px;
}

.lore-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
}

.lore-feature-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #111912;
  box-shadow: var(--shadow);
}

.lore-feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lore-feature-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  image-rendering: auto;
}

.lore-feature-image figcaption {
  position: absolute;
  right: 16px;
  bottom: 13px;
  padding: 5px 9px;
  color: #ebe3cf;
  background: rgba(7, 12, 8, 0.76);
  font-size: 0.7rem;
}

.lore-accolades-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lore-record-kicker {
  margin-top: 76px;
}

.lore-retrospective {
  margin-top: 70px;
  padding-top: 54px;
  border-top: 1px solid var(--line);
}

.lore-retrospective-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.lore-retrospective-grid a {
  min-height: 220px;
  padding: 30px;
  color: inherit;
  background:
    linear-gradient(145deg, rgba(226, 232, 210, 0.76), rgba(255, 253, 248, 0.88));
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lore-retrospective-grid a:hover,
.lore-retrospective-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(79, 107, 54, 0.62);
  box-shadow: 10px 12px 0 rgba(55, 72, 42, 0.1);
}

.lore-retrospective-grid span {
  color: #4f6b36;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.lore-retrospective-grid strong {
  display: block;
  margin-top: 18px;
  color: #25331f;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.34;
}

.lore-retrospective-grid p {
  margin: 16px 0 0;
  color: #62665e;
  font-size: 0.88rem;
  line-height: 1.72;
}

.lore-ranking-note {
  max-width: 920px;
  margin: 22px 0 0;
  color: #67665f;
  font-size: 0.84rem;
  line-height: 1.8;
}

.lore-ranking-note a {
  color: #3f5d2d;
  font-weight: 750;
  text-underline-offset: 3px;
}

.lore-page .accolades-grid {
  margin-top: 48px;
}

.lore-review-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.lore-review-score-grid article {
  min-height: 150px;
  padding: 26px;
  background: rgba(255, 253, 248, 0.64);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lore-review-score-grid strong {
  display: block;
  color: #4f6b36;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.lore-review-score-grid span {
  display: block;
  margin-top: 16px;
  color: #565b52;
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.45;
}

.lore-sales-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 0;
  color: #67665f;
  font-size: 0.84rem;
}

.lore-sales-note strong {
  color: #25331f;
  font-size: 1rem;
}

.lore-status-section {
  background:
    linear-gradient(130deg, #263829 0%, #314834 58%, #3e3150 130%);
}

.lore-download-card {
  box-shadow: 24px 24px 0 rgba(8, 17, 10, 0.24);
}

.download-button.is-disabled {
  cursor: not-allowed;
  color: #c8c5bc;
  background: #656963;
  transform: none;
}

.lore-download-note {
  margin-top: 16px !important;
}

.lore-roadmap .install-card.featured {
  background: #e2e8d2;
}

.lore-page .card-label,
.lore-page .section-kicker {
  color: #4f6b36;
}

.lore-page .section-kicker.light {
  color: #d6b866;
}

.lore-editions {
  background:
    radial-gradient(circle at 88% 18%, rgba(112, 80, 141, 0.17), transparent 34rem),
    #111912;
}

.lore-edition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.lore-edition-grid article {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.lore-edition-grid span {
  color: #d2b35f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.lore-edition-grid h3 {
  margin: 20px 0 12px;
  color: #fff;
  font-family: Georgia, "Noto Serif KR", serif;
  font-size: 1.55rem;
}

.lore-edition-grid p {
  margin: 0;
  color: #bcb7ac;
  font-size: 0.9rem;
}

.lore-store-links {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.lore-store-links a {
  padding: 11px 15px;
  color: #eadba9;
  border: 1px solid rgba(234, 219, 169, 0.4);
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}

.lore-store-links a:hover,
.lore-store-links a:focus-visible {
  color: #fff;
  border-color: #eadba9;
}

.lore-sources {
  padding-block: 112px;
}

.lore-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}

.lore-source-grid a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--line);
  text-decoration: none;
}

.lore-source-grid a:hover,
.lore-source-grid a:focus-visible {
  border-color: rgba(79, 107, 54, 0.62);
  background: #fffdf8;
}

.lore-source-grid strong {
  color: #25331f;
}

.lore-source-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

@media (max-width: 820px) {
  .lore-page .hero {
    min-height: 680px;
  }

  .lore-page .hero::after {
    opacity: 0.58;
    background-position: 76% center;
    -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.2) 62%, transparent 100%);
    mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.2) 62%, transparent 100%);
  }

  .lore-page .hero-copy {
    align-self: end;
  }

  .lore-edition-grid,
  .lore-source-grid,
  .lore-feature-grid,
  .lore-accolades-grid,
  .lore-retrospective-grid {
    grid-template-columns: 1fr;
  }

  .lore-review-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lore-edition-grid article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .localization-switcher {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .localization-switcher > span {
    display: none;
  }

  .localization-switcher a {
    flex: 0 0 auto;
  }

  .lore-page .hero {
    min-height: 620px;
    padding-top: 90px;
  }

  .lore-page .hero h1 {
    font-size: clamp(3.3rem, 17vw, 5.2rem);
  }

  .lore-feature-image img {
    aspect-ratio: 4 / 3;
  }

  .lore-store-links {
    flex-direction: column;
  }

  .lore-source-grid a {
    align-items: flex-start;
    flex-direction: column;
  }

  .lore-source-grid span {
    text-align: left;
  }

  .lore-sales-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
