:root {
  --bg-dark: #0b0b0e;
  --bg-deep: #111216;
  --panel: rgba(21, 18, 14, 0.68);
  --panel-strong: rgba(28, 22, 16, 0.82);
  --line: rgba(201, 170, 103, 0.28);
  --line-bright: rgba(233, 201, 128, 0.5);
  --gold: #d0a85d;
  --gold-soft: #f2db9b;
  --text: #f4efe2;
  --text-soft: #cfc6b5;
  --muted: #8f8575;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;

  background-image:
    linear-gradient(to bottom, rgba(7, 7, 9, 0.45), rgba(7, 7, 9, 0.88)),
    url("../images/T_Images_BGs_MainPage_Exp.jpg");

  background-size: contain;
  background-position: center top;
  background-repeat: no-repeat;

  /* KEY PART */
  background-attachment: fixed;

  filter: saturate(0.95) brightness(0.72);
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top center, rgba(185, 140, 48, 0.12), transparent 80%),
    linear-gradient(to bottom, rgba(5, 5, 7, 0.18), rgba(5, 5, 7, 0.82));
  pointer-events: none;
}

@keyframes bgDrift {
  0% {
    background-position: center 0px;
  }
  50% {
    background-position: center 60px;
  }
  100% {
    background-position: center 0px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(8, 8, 10, 0.82), rgba(8, 8, 10, 0.45));
  border-bottom: 1px solid rgba(255, 221, 150, 0.08);
}

.header-inner,
.hero-inner,
.section-title-wrap,
.card-grid,
.showcase,
.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-crest {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold-soft);
  background: linear-gradient(145deg, rgba(120, 90, 34, 0.55), rgba(37, 28, 18, 0.92));
  border: 1px solid var(--line-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.brand-text h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: 0.06em;
  font-weight: 700;
}

.brand-sub {
  display: block;
  color: var(--gold-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 4px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: 0.25s ease;
}

.top-nav a:hover {
  color: var(--text);
  background: rgba(255, 231, 181, 0.08);
}

.hero {
  padding: 72px 0 42px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}

.hero-left {
  padding: 28px 8px 28px 0;
}

.eyebrow,
.section-top,
.card-tag,
.panel-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.hero h2 {
  margin: 12px 0 18px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 10ch;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #23180a;
  background: linear-gradient(to bottom, #f0d793, #c89c47);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 228, 165, 0.14);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(15, 13, 10, 0.52);
  border: 1px solid rgba(220, 182, 107, 0.14);
  box-shadow: var(--shadow-soft);
}

.stat-value {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-panel {
  min-height: 100%;
  border-radius: var(--radius-xl);
  padding: 1px;
  background:rgba(15, 13, 10, 0.75);
  border: 1px solid rgba(220, 182, 107, 0.14);
  box-shadow: var(--shadow);
}

.panel-frame {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(35, 28, 18, 0.1), rgba(18, 15, 11, 0.1));
  padding: 34px;
  border: 1px solid rgba(255, 223, 153, 0.08);
}

.panel-frame h3 {
  margin: 10px 0 14px;
  font-family: "Cinzel", serif;
  font-size: 2rem;
}

.panel-frame p {
  margin: 0 0 24px;
  color: var(--text-soft);
  line-height: 1.75;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 14px;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-list li span {
  color: var(--text-soft);
}

.status-list li strong {
  color: var(--gold-soft);
}

.panel-link {
  display: inline-block;
  color: var(--gold-soft);
  font-weight: 600;
}

.section-intro {
  padding: 30px 0 12px;
}

.section-title-wrap {
  text-align: center;
  max-width: 800px;
}

.section-title-wrap h3 {
  margin: 10px 0 14px;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-title-wrap p:last-child {
  color: var(--text-soft);
  line-height: 1.8;
}

.card-grid {
  padding: 28px 0 70px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  min-height: 250px;
  border-radius: 22px;
  overflow: hidden;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(241, 209, 126, 0.22),
    rgba(80, 57, 18, 0.18),
    rgba(241, 209, 126, 0.08)
  );
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
  position: relative;
  display: block;
  transform: translateY(0) scale(1);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  cursor: pointer;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  border: 1px solid rgba(255, 226, 150, 0.08);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
  z-index: 3;
}

.feature-card::after {
  content: "Open Page";
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 4;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(242, 219, 155, 0.72);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(212, 171, 83, 0.10);
}

.feature-card:hover::before {
  border-color: rgba(255, 220, 140, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 226, 170, 0.08),
    0 0 30px rgba(214, 170, 77, 0.08);
}

.feature-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:active {
  transform: translateY(-4px) scale(0.995);
}

.feature-card:hover .card-content {
  background: linear-gradient(
    to bottom,
    rgba(44, 35, 23, 0.92),
    rgba(24, 19, 13, 0.96)
  );
}

.feature-card:hover .card-glow {
  opacity: 1;
  transform: scale(1.15);
}

.feature-card:hover h4 {
  color: var(--gold-soft);
}

.feature-card:hover p {
  color: #e5dccd;
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 24px;
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(34, 28, 20, 0.84), rgba(19, 16, 12, 0.92));
  border: 1px solid rgba(255, 228, 161, 0.06);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.card-glow {
  position: absolute;
  inset: auto -10% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 170, 80, 0.20), transparent 65%);
  pointer-events: none;
  opacity: 0.65;
  transform: scale(1);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.feature-card h4 {
  margin: 12px 0 12px;
  font-family: "Cinzel", serif;
  font-size: 1.55rem;
  transition: color 0.22s ease;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
  transition: color 0.22s ease;
}

.showcase {
  padding: 10px 0 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.showcase-left h3 {
  margin: 10px 0 16px;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.showcase-left p {
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 60ch;
}

.showcase-box {
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(241, 209, 126, 0.18), rgba(79, 55, 20, 0.12));
  position: relative;
  overflow: hidden;
}

.showcase-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(34, 28, 20, 0.88), rgba(17, 14, 10, 0.94));
  border-radius: inherit;
}

.showcase-box h4,
.showcase-box ul {
  position: relative;
  z-index: 1;
  padding-left: 28px;
  padding-right: 28px;
}

.showcase-box h4 {
  margin: 28px 0 16px;
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
}

.showcase-box ul {
  list-style: none;
  margin: 0 0 28px;
  padding-bottom: 6px;
}

.showcase-box li {
  padding: 12px 0;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer {
  border-top: 1px solid rgba(255, 231, 181, 0.08);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(10px);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--gold-soft);
}

@media (max-width: 1080px) {
  .hero-inner,
  .showcase,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

  .top-nav {
    justify-content: center;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h2 {
    max-width: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .section-title-wrap,
  .card-grid,
  .showcase,
  .footer-inner {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .panel-frame,
  .card-content {
    padding: 22px;
  }

  .hero h2 {
    font-size: 2.4rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ========================= */
/* QUEST PAGE */
/* ========================= */

.quest-hero {
  padding: 72px 0 30px;
}

.quest-hero-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.quest-hero-left h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin: 12px 0 18px;
}

.quest-hero-left p {
  color: var(--text-soft);
  line-height: 1.8;
}

.quest-hero-panel {
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(238,205,129,0.3),
    rgba(129,89,31,0.08),
    rgba(238,205,129,0.12));
  box-shadow: var(--shadow);
}

.quest-hero-panel-inner {
  border-radius: inherit;
  padding: 28px;
  background: linear-gradient(to bottom,
    rgba(35,28,18,0.9),
    rgba(18,15,11,0.92));
  border: 1px solid rgba(255,223,153,0.08);
}

.quest-grid-section {
  padding: 20px 0 90px;
}

.quest-grid-header {
  text-align: center;
  margin-bottom: 30px;
}

.quest-card-grid {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* QUEST CARDS */

.quest-card {
  min-height: 240px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(241, 209, 126, 0.22),
    rgba(80, 57, 18, 0.18),
    rgba(241, 209, 126, 0.08)
  );
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  position: relative;
  display: block;
  transition: all 0.25s ease;
}

.quest-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 24px 50px rgba(0,0,0,0.45),
    0 0 24px rgba(212,171,83,0.12);
}

.quest-card-inner {
  height: 100%;
  padding: 26px;
  border-radius: inherit;
  background: linear-gradient(
    to bottom,
    rgba(34,28,20,0.85),
    rgba(19,16,12,0.92)
  );
  border: 1px solid rgba(255,228,161,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quest-card h4 {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  margin: 0;
}

.quest-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.quest-tag {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--gold-soft);
}

.quest-card-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: 0px;
  right: 0px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(220,170,80,0.2),
    transparent 65%);
  opacity: 0.0;
  transition: all 0.25s ease;
}

.quest-card:hover .quest-card-glow {
  transform: scale(0.8);
  opacity: .0;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .quest-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .quest-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quest-card-grid {
    grid-template-columns: 1fr;
  }

  .quest-hero-inner {
    grid-template-columns: 1fr;
  }
}
/* ========================= */
/* QUEST ARCHIVE / FILTER PAGE */
/* ========================= */

.quest-archive-hero {
  padding: 72px 0 30px;
}

.quest-archive-hero-inner,
.quest-browser-layout {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.quest-archive-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.quest-archive-copy h2 {
  margin: 12px 0 18px;
  font-family: "Cinzel", serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.quest-archive-copy p:last-child {
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 62ch;
}

.quest-archive-info {
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(238, 205, 129, 0.30),
    rgba(129, 89, 31, 0.08),
    rgba(238, 205, 129, 0.12)
  );
  box-shadow: var(--shadow);
}

.quest-archive-info-inner {
  border-radius: inherit;
  padding: 28px;
  background: linear-gradient(to bottom, rgba(35, 28, 18, 0.90), rgba(18, 15, 11, 0.92));
  border: 1px solid rgba(255, 223, 153, 0.08);
}

.quest-archive-info-inner h3 {
  margin: 10px 0 12px;
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
}

.quest-archive-info-inner p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.quest-browser-section {
  padding: 16px 0 90px;
}

.quest-browser-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  align-items: start;
}

.quest-filter-panel,
.quest-results-panel {
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(241, 209, 126, 0.18),
    rgba(79, 55, 20, 0.12)
  );
  box-shadow: var(--shadow-soft);
}

.quest-filter-panel-inner,
.quest-results-panel-inner {
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(34, 28, 20, 0.88), rgba(17, 14, 10, 0.94));
  border: 1px solid rgba(255, 228, 161, 0.06);
  padding: 26px;
}

.quest-filter-header h3,
.quest-results-topbar h3 {
  margin: 10px 0 0;
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
}

.quest-filter-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-group select,
.form-group input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 223, 153, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.form-group select:focus,
.form-group input:focus {
  border-color: rgba(242, 219, 155, 0.42);
  box-shadow: 0 0 0 3px rgba(208, 168, 93, 0.12);
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.quest-results-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.results-summary {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.quest-results-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quest-result-card {
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(to bottom, rgba(44, 35, 23, 0.92), rgba(24, 19, 13, 0.96));
  border: 1px solid rgba(255, 226, 170, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.quest-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.30);
  border-color: rgba(255, 220, 140, 0.18);
}

.quest-result-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  flex-wrap: wrap;
}

.quest-result-tag {
  margin: 0 0 8px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.quest-result-card h4 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
}

.quest-level-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(242, 219, 155, 0.10);
  border: 1px solid rgba(242, 219, 155, 0.16);
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.quest-result-desc {
  margin: 14px 0 16px;
  color: var(--text-soft);
  line-height: 1.8;
}

.quest-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.quest-result-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.90rem;
}

@media (max-width: 1080px) {
  .quest-archive-hero-inner,
  .quest-browser-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .quest-archive-hero-inner,
  .quest-browser-layout {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .quest-filter-panel-inner,
  .quest-results-panel-inner,
  .quest-archive-info-inner {
    padding: 22px;
  }

  .quest-archive-copy h2 {
    font-size: 2.35rem;
  }
}