:root {
  --color-bg: #080a0d;
  --color-bg-soft: #0e1218;
  --color-surface: #121821;
  --color-surface-2: #18202a;
  --color-border: rgba(222, 190, 122, 0.2);
  --color-border-cool: rgba(168, 184, 176, 0.16);
  --color-text: #f4efe6;
  --color-text-muted: #b9b0a3;
  --color-text-soft: #8f887d;
  --color-gold: #d7a84f;
  --color-gold-soft: #f1d58b;
  --color-amber: #b56a2a;
  --color-mist: #a8b8b0;
  --color-danger: #d86a5e;
  --color-success: #7fbf8f;
  --color-info: #7fa7c9;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.24);
  --container: 70rem;
  --content: 48rem;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.65;
  background:
    radial-gradient(circle at 18% -10%, rgba(215, 168, 79, 0.13), transparent 28rem),
    radial-gradient(circle at 86% 4%, rgba(127, 167, 201, 0.1), transparent 26rem),
    linear-gradient(180deg, rgba(8, 10, 13, 0.94), rgba(8, 10, 13, 1)),
    var(--color-bg);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
  color: var(--color-gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff3bf;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--color-border);
  background: rgba(8, 10, 13, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 13rem;
  color: var(--color-text);
  text-decoration: none;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand span {
  color: var(--color-text-soft);
  font-size: 0.76rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-surface);
  padding: 0.45rem 0.65rem;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1;
  padding: 0.62rem 0.64rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-text);
  background: rgba(215, 168, 79, 0.1);
}

.site-main {
  min-height: 64vh;
}

.wrap {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.content-wrap {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
}

.hero {
  padding: 4.3rem 0 2.4rem;
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.9rem 0 3.1rem;
  background:
    radial-gradient(circle at 79% 18%, rgba(45, 90, 120, 0.62), transparent 25rem),
    radial-gradient(circle at 12% 44%, rgba(215, 168, 79, 0.3), transparent 20rem),
    radial-gradient(circle at 50% 118%, rgba(0, 0, 0, 0.9), transparent 34rem),
    linear-gradient(180deg, rgba(7, 9, 12, 0.42), rgba(8, 10, 13, 0.92) 78%, rgba(8, 10, 13, 1));
  box-shadow: inset 0 -1px 0 rgba(222, 190, 122, 0.08);
}

.home-page .hero::before,
.home-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-page .hero::before {
  z-index: 0;
  background-image:
    linear-gradient(rgba(215, 168, 79, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 184, 176, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(118deg, transparent 0 12rem, rgba(215, 168, 79, 0.075) 12.05rem 12.12rem, transparent 12.18rem 19rem);
  background-size: 5.5rem 5.5rem, 5.5rem 5.5rem, 36rem 36rem;
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0.48) 76%, transparent 100%);
  opacity: 0.7;
}

.home-page .hero::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.82) 0 35%, rgba(8, 10, 13, 0.16) 59%, rgba(8, 10, 13, 0.54) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.1) 0, rgba(7, 9, 12, 0.76) 100%);
}

.home-page .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.home-page .hero-visual span {
  position: absolute;
  display: block;
  pointer-events: none;
}

.home-page .hero-scene {
  position: absolute;
  inset: -1.2rem 0 0;
  width: 100%;
  height: calc(100% + 1rem);
  opacity: 0.95;
}

.home-page .scene-map-lines path,
.home-page .scene-compass circle,
.home-page .scene-compass path,
.home-page .scene-field-markers path,
.home-page .scene-field-markers circle {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.home-page .scene-mist-bands path {
  fill: url(#heroMistBand);
}

.home-page .scene-mist-bands path:first-child {
  opacity: 0.62;
}

.home-page .scene-mist-bands path:last-child {
  opacity: 0.38;
}

.home-page .scene-map-lines path {
  stroke: rgba(215, 168, 79, 0.2);
  stroke-width: 1;
}

.home-page .scene-field-markers {
  opacity: 0.48;
}

.home-page .scene-field-markers path,
.home-page .scene-field-markers circle {
  stroke: rgba(241, 213, 139, 0.34);
  stroke-width: 1;
}

.home-page .scene-ruins {
  filter: drop-shadow(0 1.3rem 2.2rem rgba(0, 0, 0, 0.48));
  opacity: 0.92;
}

.home-page .ruin-ground {
  fill: rgba(5, 7, 10, 0.82);
}

.home-page .ruin-gate-shadow,
.home-page .pillar {
  fill: url(#heroStone);
  stroke: rgba(215, 168, 79, 0.28);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.home-page .ruin-gate {
  fill: none;
  stroke: rgba(215, 168, 79, 0.34);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.home-page .pillar-a {
  opacity: 0.82;
}

.home-page .pillar-d {
  opacity: 0.54;
}

.home-page .pillar-e {
  opacity: 0.62;
}

.home-page .pillar-b {
  opacity: 0.92;
}

.home-page .pillar-c {
  opacity: 0.72;
}

.home-page .pillar-crack {
  fill: none;
  stroke: rgba(168, 184, 176, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.home-page .scene-hunter {
  opacity: 0.5;
}

.home-page .hunter-cloak {
  fill: rgba(3, 5, 8, 0.88);
  stroke: rgba(241, 213, 139, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.home-page .hunter-hood {
  fill: rgba(5, 7, 10, 0.9);
}

.home-page .hunter-edge {
  fill: none;
  stroke: rgba(168, 184, 176, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.home-page .scene-compass {
  opacity: 0.22;
}

.home-page .scene-compass circle {
  stroke: rgba(215, 168, 79, 0.42);
  stroke-width: 1;
}

.home-page .scene-compass path {
  stroke: rgba(127, 167, 201, 0.24);
  stroke-width: 1;
}

.home-page .beacon-beam {
  fill: rgba(241, 213, 139, 0.13);
  stroke: rgba(215, 168, 79, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.home-page .beacon-glow {
  fill: url(#heroBeaconGlow);
  opacity: 0.84;
}

.home-page .beacon-dot {
  fill: var(--color-gold-soft);
  filter: drop-shadow(0 0 10px rgba(241, 213, 139, 0.8));
}

.home-page .mist-cool {
  width: min(58rem, 72vw);
  height: 35rem;
  right: -12rem;
  top: -9rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 48%, rgba(127, 167, 201, 0.56), transparent 34%),
    radial-gradient(circle at 68% 24%, rgba(42, 95, 130, 0.5), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(168, 184, 176, 0.17), transparent 64%);
  filter: blur(12px);
  opacity: 0.92;
}

.home-page .mist-warm {
  width: 44rem;
  height: 31rem;
  left: -15rem;
  top: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 58% 42%, rgba(241, 213, 139, 0.32), transparent 34%),
    radial-gradient(circle at 42% 58%, rgba(181, 106, 42, 0.24), transparent 60%);
  filter: blur(14px);
  opacity: 0.82;
}

.home-page .field-map {
  left: -3rem;
  right: -3rem;
  bottom: -1rem;
  height: 48%;
  background-image:
    linear-gradient(rgba(215, 168, 79, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 184, 176, 0.08) 1px, transparent 1px),
    repeating-linear-gradient(118deg, transparent 0 7.5rem, rgba(215, 168, 79, 0.1) 7.55rem 7.65rem, transparent 7.7rem 13rem);
  background-size: 4.25rem 4.25rem, 4.25rem 4.25rem, 25rem 25rem;
  transform: perspective(42rem) rotateX(52deg) translateY(2rem);
  transform-origin: bottom center;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88) 34%, transparent 100%);
  opacity: 0.86;
}

.home-page .compass-ring {
  width: 38rem;
  height: 38rem;
  right: max(-2.5rem, calc((100vw - var(--container)) / 2 - 4rem));
  top: 0.45rem;
  border: 1px solid rgba(215, 168, 79, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(241, 213, 139, 0.62) 0 0.18rem, transparent 0.24rem),
    radial-gradient(circle, transparent 0 24%, rgba(127, 167, 201, 0.16) 24.3% 24.7%, transparent 25% 40%, rgba(215, 168, 79, 0.24) 40.2% 40.6%, transparent 41% 56%, rgba(168, 184, 176, 0.13) 56.2% 56.6%, transparent 57%),
    conic-gradient(from -28deg, transparent 0 8%, rgba(215, 168, 79, 0.34) 8.4% 8.9%, transparent 9.3% 24%, rgba(127, 167, 201, 0.22) 24.4% 25.1%, transparent 25.5% 50%, rgba(215, 168, 79, 0.18) 50.4% 51.1%, transparent 51.5% 76%, rgba(127, 167, 201, 0.18) 76.4% 77%, transparent 77.4% 100%);
  box-shadow:
    0 0 6.5rem rgba(127, 167, 201, 0.2),
    0 0 3.4rem rgba(215, 168, 79, 0.18),
    inset 0 0 5rem rgba(8, 10, 13, 0.84);
  opacity: 0.9;
}

.home-page .compass-ring::before,
.home-page .compass-ring::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 82%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 168, 79, 0.38), transparent);
  transform: translate(-50%, -50%);
}

.home-page .compass-ring::after {
  width: 1px;
  height: 82%;
  background: linear-gradient(180deg, transparent, rgba(127, 167, 201, 0.3), transparent);
}

.home-page .beacon-line {
  width: 34rem;
  height: 9rem;
  right: max(2rem, calc((100vw - var(--container)) / 2 + 4.4rem));
  top: 12.3rem;
  background:
    linear-gradient(90deg, transparent 0, rgba(241, 213, 139, 0.46) 48%, rgba(127, 167, 201, 0.1) 74%, transparent 100%);
  filter: blur(1px);
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.92) 44%, transparent 100%);
  opacity: 0.82;
  transform: rotate(-3deg);
}

.home-page .beacon-line::before {
  content: "";
  position: absolute;
  right: 4.4rem;
  top: calc(50% - 0.36rem);
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--color-gold-soft);
  box-shadow:
    0 0 0 0.5rem rgba(215, 168, 79, 0.14),
    0 0 2.2rem rgba(241, 213, 139, 0.72);
}

.home-page h1 {
  text-shadow:
    0 0 1.2rem rgba(8, 10, 13, 0.94),
    0 0 2.6rem rgba(215, 168, 79, 0.3),
    0 0 5rem rgba(127, 167, 201, 0.18);
}

.home-page .hero .wrap {
  position: relative;
  z-index: 2;
}

.home-page .hero-grid {
  min-height: 31rem;
}

.hero-copy {
  max-width: 45rem;
}

.home-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: #ffe5a6;
  text-shadow: 0 0 1.8rem rgba(215, 168, 79, 0.35);
}

.home-page .hero-eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(241, 213, 139, 0.88), transparent);
}

.home-page .lede {
  max-width: 39rem;
  text-shadow: 0 1px 1rem rgba(0, 0, 0, 0.62);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(21rem, 0.94fr);
  gap: 2.6rem;
  align-items: center;
}

.eyebrow,
.field-note {
  color: var(--color-gold-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-text);
  line-height: 1.16;
  margin: 0 0 0.8rem;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  max-width: 11ch;
}

.article h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-top: 2.4rem;
}

h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  max-width: 48rem;
}

.cta-row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(215, 168, 79, 0.38);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(215, 168, 79, 0.24), rgba(181, 106, 42, 0.18));
  color: var(--color-text);
  font-weight: 700;
  padding: 0.68rem 1rem;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--color-border-cool);
  background: rgba(168, 184, 176, 0.08);
  color: var(--color-text-muted);
}

.panel,
.card,
.source-card,
.related-guides,
.quick-answer,
.callout,
.search-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(18, 24, 33, 0.9), rgba(14, 18, 24, 0.88));
  box-shadow: var(--shadow-card);
}

.panel {
  padding: 1.25rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
}

.home-page .hero-panel {
  border-color: rgba(215, 168, 79, 0.5);
  background:
    radial-gradient(circle at 92% 10%, rgba(127, 167, 201, 0.12), transparent 10rem),
    radial-gradient(circle at 18% 8%, rgba(215, 168, 79, 0.16), transparent 12rem),
    linear-gradient(180deg, rgba(25, 25, 21, 0.94), rgba(9, 12, 17, 0.93));
  box-shadow:
    0 22px 76px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(215, 168, 79, 0.1),
    inset 0 0 2.2rem rgba(127, 167, 201, 0.06);
}

.hero-panel::before {
  content: "";
  display: block;
  height: 1px;
  margin: -1.25rem -1.25rem 1.2rem;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.65;
}

.home-page .hero-panel::before {
  position: absolute;
  inset: 0;
  height: auto;
  margin: 0;
  background:
    linear-gradient(90deg, transparent, rgba(241, 213, 139, 0.54), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(215, 168, 79, 0.16), transparent 40%, rgba(127, 167, 201, 0.1)) top / 100% 3.5rem no-repeat;
  opacity: 0.92;
}

.home-page .hero-panel::after {
  content: "";
  position: absolute;
  inset: 0.68rem;
  pointer-events: none;
  border-radius: calc(var(--radius-md) - 2px);
  background:
    linear-gradient(90deg, rgba(241, 213, 139, 0.62) 0 1.9rem, transparent 1.9rem calc(100% - 1.9rem), rgba(241, 213, 139, 0.62) calc(100% - 1.9rem) 100%) top / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(215, 168, 79, 0.34) 0 1.2rem, transparent 1.2rem calc(100% - 1.2rem), rgba(127, 167, 201, 0.28) calc(100% - 1.2rem) 100%) bottom / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(241, 213, 139, 0.44) 0 1.9rem, transparent 1.9rem calc(100% - 1.9rem), rgba(127, 167, 201, 0.22) calc(100% - 1.9rem) 100%) left / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(127, 167, 201, 0.28) 0 1.2rem, transparent 1.2rem calc(100% - 1.2rem), rgba(241, 213, 139, 0.34) calc(100% - 1.2rem) 100%) right / 1px 100% no-repeat,
    linear-gradient(180deg, transparent 0, rgba(241, 213, 139, 0.04) 44%, transparent 100%);
  box-shadow: inset 0 0 1.5rem rgba(0, 0, 0, 0.26);
  opacity: 1;
}

.home-page .hero-panel .field-note {
  border-bottom: 1px solid rgba(215, 168, 79, 0.18);
  color: #ffe2a0;
  margin: 0 0 0.9rem;
  padding-bottom: 0.55rem;
}

.home-page .hero-panel > * {
  position: relative;
  z-index: 2;
}

.hero-panel .big-number {
  color: var(--color-gold-soft);
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 8vw, 4.7rem);
  line-height: 1;
  margin: 0.3rem 0 0.55rem;
}

.home-page .hero-panel .big-number {
  text-shadow:
    0 0 1.9rem rgba(241, 213, 139, 0.26),
    0 0 3.8rem rgba(127, 167, 201, 0.16);
}

.home-page .hero-panel .status-list div {
  border-bottom-color: rgba(222, 190, 122, 0.16);
}

.home-page .hero-panel .status-list dt {
  color: #ffe2a0;
}

.hero-panel p {
  color: var(--color-text-muted);
}

.status-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.status-list div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(222, 190, 122, 0.12);
  padding-bottom: 0.55rem;
}

.status-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.status-list dt {
  color: var(--color-gold-soft);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.status-list dd {
  color: var(--color-text-muted);
  margin: 0;
}

.section {
  padding: 2rem 0;
}

.home-page .section {
  padding: 1.75rem 0;
}

.section-tight {
  padding-top: 1.1rem;
}

.home-page .section-tight {
  padding-top: 0.95rem;
}

.section-header {
  max-width: 46rem;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 1.4rem;
}

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

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 1.45rem;
}

.card::before {
  content: "";
  display: block;
  height: 1px;
  margin: -1.45rem -1.45rem 1.25rem;
  background: linear-gradient(90deg, transparent, rgba(215, 168, 79, 0.85), transparent);
  opacity: 0.45;
}

.card h3 {
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.card > .badge {
  margin-bottom: 0.75rem;
}

.card p {
  margin: 0;
  line-height: 1.68;
}

.card p + p {
  margin-top: 0.85rem;
}

.feature-card {
  min-height: 13.5rem;
}

.class-card p {
  margin-bottom: 0;
}

.class-card p strong {
  color: var(--color-text);
}

.class-card .meta-line {
  border-top: 1px solid rgba(222, 190, 122, 0.12);
  color: rgba(185, 176, 163, 0.86);
  font-size: 0.8rem;
  margin-top: 1.08rem;
  padding-top: 0.95rem;
}

.card p,
.muted,
li {
  color: var(--color-text-muted);
}

.card p,
.answer-tile p,
.mini-card p,
.status-ribbon span,
.status-list dd {
  line-height: 1.68;
}

.card .meta-line,
.meta-line {
  color: var(--color-text-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.status-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-border);
}

.status-ribbon a,
.status-ribbon div {
  min-height: 7rem;
  padding: 1rem;
  color: var(--color-text);
  background: rgba(18, 24, 33, 0.94);
  text-decoration: none;
}

.status-ribbon strong {
  display: block;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.status-ribbon span {
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.answer-grid,
.fact-grid,
.mini-card-grid {
  display: grid;
  gap: 1.4rem;
  margin: 1.2rem 0;
}

.answer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact-grid,
.mini-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.answer-tile,
.fact-box,
.mini-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(18, 24, 33, 0.76);
  padding: 1.4rem;
}

.answer-tile {
  display: block;
  min-height: 8.5rem;
  text-decoration: none;
}

.answer-tile:hover {
  border-color: rgba(215, 168, 79, 0.44);
  background: rgba(18, 24, 33, 0.92);
}

.answer-tile strong,
.fact-box strong,
.mini-card strong {
  display: block;
  color: var(--color-gold-soft);
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.answer-tile p,
.fact-box p,
.mini-card p {
  margin-bottom: 0;
}

.check-list,
.watch-list {
  list-style: none;
  padding-left: 0;
}

.check-list li,
.watch-list li {
  border-bottom: 1px solid rgba(222, 190, 122, 0.12);
  padding: 0.55rem 0;
}

.check-list li:last-child,
.watch-list li:last-child {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 0.75rem;
  margin: 1.1rem 0;
}

.timeline-item {
  border-left: 2px solid var(--color-border);
  padding-left: 1rem;
}

.timeline-item strong {
  color: var(--color-gold-soft);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(215, 168, 79, 0.28);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(215, 168, 79, 0.1);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1;
  padding: 0.38rem 0.56rem;
  white-space: nowrap;
}

.badge.open-beta {
  border-color: rgba(127, 167, 201, 0.45);
  background: rgba(127, 167, 201, 0.12);
}

.badge.reported {
  border-color: rgba(127, 167, 201, 0.45);
}

.badge.tbd {
  border-color: rgba(216, 106, 94, 0.45);
  background: rgba(216, 106, 94, 0.1);
}

.badge.needs {
  border-color: rgba(181, 106, 42, 0.55);
  background: rgba(181, 106, 42, 0.12);
}

.badge.checked,
.badge.tested {
  border-color: rgba(127, 191, 143, 0.45);
  background: rgba(127, 191, 143, 0.12);
}

.breadcrumb {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin: 1.3rem auto 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.article {
  padding: 2.4rem 0 3.5rem;
}

.article-header {
  margin-bottom: 1.6rem;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.quick-answer,
.callout {
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
}

.quick-answer strong,
.callout strong {
  color: var(--color-gold-soft);
}

.callout.warning {
  border-color: rgba(216, 106, 94, 0.45);
}

.toc {
  border-left: 1px solid var(--color-border);
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.toc a {
  display: inline-block;
  margin: 0.2rem 0.8rem 0.2rem 0;
}

.table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.1rem 0 1.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}

th,
td {
  border-bottom: 1px solid rgba(222, 190, 122, 0.13);
  padding: 0.78rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-gold-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

ul,
ol {
  padding-left: 1.25rem;
}

details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(18, 24, 33, 0.72);
  margin: 0.8rem 0;
  padding: 0.85rem 1rem;
}

summary {
  color: var(--color-text);
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 0.7rem 0 0;
}

.related-guides {
  padding: 1.2rem;
  margin-top: 2.4rem;
}

.related-guides h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}

.related-list a {
  display: block;
  border: 1px solid var(--color-border-cool);
  border-radius: var(--radius-sm);
  background: rgba(168, 184, 176, 0.06);
  min-height: 4.2rem;
  padding: 0.75rem;
  text-decoration: none;
}

.related-list span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

.source-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.source-card {
  padding: 1rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: rgba(8, 10, 13, 0.82);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.footer-note {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: flex-end;
}

.search-panel {
  padding: 1.2rem;
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: rgba(8, 10, 13, 0.66);
  font: inherit;
  min-height: 2.8rem;
  padding: 0.7rem 0.8rem;
}

.search-results {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-result {
  border: 1px solid var(--color-border-cool);
  border-radius: var(--radius-sm);
  background: rgba(168, 184, 176, 0.06);
  padding: 0.85rem;
}

.search-result h2 {
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}

.search-result p {
  margin-bottom: 0;
}

.coming-soon {
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-border);
  padding-left: 1rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .home-page .hero-grid {
    min-height: 0;
    gap: 1.9rem;
  }

  .home-page .hero-scene {
    left: -12%;
    width: 128%;
    opacity: 0.78;
  }

  .home-page .compass-ring {
    right: -8rem;
    top: 6.2rem;
    opacity: 0.68;
  }

  .home-page .beacon-line {
    right: -2rem;
    top: 17rem;
    opacity: 0.58;
  }

  .grid.cols-2,
  .grid.cols-3,
  .answer-grid,
  .fact-grid,
  .mini-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(8, 10, 13, 0.98);
    padding: 0.6rem;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.82rem 0.85rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .home-page .hero {
    padding-top: 3.2rem;
  }

  .home-page .hero-visual {
    opacity: 0.78;
  }

  .home-page .hero-scene {
    left: -34%;
    top: 1rem;
    width: 168%;
    height: 54%;
    opacity: 0.58;
  }

  .home-page .scene-ruins {
    opacity: 0.46;
  }

  .home-page .scene-map-lines {
    opacity: 0.54;
  }

  .home-page .scene-compass {
    opacity: 0.34;
  }

  .home-page .mist-cool {
    width: 34rem;
    height: 25rem;
    right: -14rem;
    top: -2rem;
  }

  .home-page .mist-warm {
    width: 25rem;
    height: 20rem;
    left: -12rem;
    top: 1rem;
    opacity: 0.64;
  }

  .home-page .field-map {
    height: 38%;
    opacity: 0.48;
  }

  .home-page .compass-ring {
    width: 24rem;
    height: 24rem;
    right: -9rem;
    top: 7.2rem;
    opacity: 0.58;
  }

  .home-page .beacon-line {
    width: 18rem;
    right: -4rem;
    top: 15.5rem;
    opacity: 0.5;
  }

  .home-page .hero-panel {
    min-height: 0;
  }

  .grid.cols-2,
  .grid.cols-3,
  .answer-grid,
  .fact-grid,
  .mini-card-grid {
    grid-template-columns: 1fr;
  }

  .status-ribbon {
    grid-template-columns: 1fr;
  }

  .status-list div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .search-form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
