/* ─────────────────────────── LIMBO DB — Dark Fantasy ─────────────────────────── */
:root {
  --bg-0: #0a0706;
  --bg-1: #120d0a;
  --bg-2: #1a1310;
  --bg-3: #251b15;
  --bg-panel: rgba(20, 14, 11, 0.85);
  --line: #3a2a20;
  --line-strong: #4f382a;
  --ink: #e8dcc6;
  --ink-dim: #b6a489;
  --ink-mute: #7a6a55;
  --gold: #d6a84a;
  --gold-bright: #f1c266;
  --gold-deep: #8c6a26;
  --blood: #9b1d1d;
  --blood-bright: #c83232;
  --ember: #e26a2c;

  /* rarities (Diablo/PoE-ish) */
  --r-common: #b9b1a0;
  --r-uncommon: #4ea863;
  --r-rare: #4a8bdf;
  --r-epic: #a259d4;
  --r-legendary: #d6a84a;
  --r-mythic: #e23b3b;

  /* elements */
  --e-fire: #ff6a3d;
  --e-ice: #6ed0ff;
  --e-lightning: #ffd84d;
  --e-shadow: #9059d4;
  --e-holy: #f8e29c;
  --e-poison: #6ec24b;
  --e-earth: #b8865c;
  --e-none: #8a7a64;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: "EB Garamond", "Iowan Old Style", Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at top, rgba(120, 50, 20, 0.12), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(80, 20, 20, 0.08), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
}
.bg-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 250px rgba(0,0,0,0.85);
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─────────────── TOPBAR ─────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #1a1108 0%, #110b07 100%);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.topbar .wrap {
  display: flex; align-items: center; gap: 28px;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold-bright); text-decoration: none;
}
.brand-mark {
  font-size: 26px; color: var(--blood-bright);
  text-shadow: 0 0 12px rgba(200,50,50,0.5);
}
.brand-text { font-family: "Cinzel", serif; letter-spacing: 2px; }
.brand-title { font-size: 22px; font-weight: 800; color: var(--gold-bright); }
.brand-sub { font-size: 22px; font-weight: 800; color: var(--ink); margin-left: 2px; }

.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  color: var(--ink-dim); text-decoration: none;
  padding: 10px 14px; border-radius: 2px;
  font-family: "Cinzel", serif; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.nav a:hover { color: var(--gold-bright); }
.nav a.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
  background: rgba(214, 168, 74, 0.07);
}

.search-mini { position: relative; min-width: 260px; }
.search-mini input {
  width: 100%; height: 38px;
  background: #0c0805; color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0 12px;
  font-family: inherit; font-size: 14px;
  border-radius: 2px;
  outline: none;
}
.search-mini input:focus { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(214,168,74,0.3); }
.global-results {
  position: absolute; top: 42px; right: 0; left: 0;
  background: #15100c; border: 1px solid var(--line-strong);
  max-height: 380px; overflow-y: auto; display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  z-index: 100;
}
.global-results.show { display: block; }
.global-results .grp { padding: 4px 0; }
.global-results .grp-title {
  font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 2px;
  color: var(--gold-deep); padding: 6px 12px; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.global-results a {
  display: block; padding: 6px 12px; color: var(--ink);
  text-decoration: none; font-size: 14px;
  border-bottom: 1px solid rgba(58,42,32,0.4);
}
.global-results a:hover { background: rgba(214,168,74,0.1); color: var(--gold-bright); }
.global-results .small { color: var(--ink-mute); font-size: 12px; }

/* ─────────────── APP / MAIN ─────────────── */
.app {
  position: relative; z-index: 2;
  padding: 0 0 80px;
  min-height: calc(100vh - 72px - 60px);
}
.app .wrap { padding: 32px 24px 0; }
.app .landing-hero,
.app .features,
.app .landing-bottom-cta { /* full-bleed sections */ }
.features, .landing-bottom-cta { max-width: 1280px; margin-left: auto; margin-right: auto; }
.features { padding-top: 0; }

/* ─────────────── HOME ─────────────── */
.hero {
  text-align: center;
  padding: 60px 24px 50px;
  position: relative;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(40,18,8,0.6) 0%, rgba(15,9,6,0.3) 100%),
    radial-gradient(ellipse at center top, rgba(214,168,74,0.08), transparent 70%);
  margin-bottom: 36px;
}
.hero h1 {
  font-family: "Cinzel", serif;
  font-size: 56px; font-weight: 800; letter-spacing: 8px;
  margin: 0;
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(214,168,74,0.3), 0 2px 4px rgba(0,0,0,0.9);
}
.hero .tagline {
  font-style: italic; color: var(--ink-dim);
  margin-top: 8px; font-size: 18px;
  letter-spacing: 1px;
}
.hero .divider {
  width: 200px; height: 1px; margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero p { max-width: 640px; margin: 0 auto; color: var(--ink-dim); }

.section-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 24px;
}
.section-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.section-card:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(214,168,74,0.08), rgba(30,18,12,0.9));
  transform: translateY(-2px);
}
.section-card .icon {
  font-size: 32px; color: var(--gold-bright); margin-bottom: 10px;
  display: block;
}
.section-card h3 {
  font-family: "Cinzel", serif; font-size: 16px; letter-spacing: 2px;
  margin: 0 0 4px; color: var(--gold-bright); text-transform: uppercase;
}
.section-card .count {
  color: var(--ink-mute); font-size: 14px;
}
.section-card .desc {
  color: var(--ink-dim); font-size: 14px; margin-top: 8px;
}

/* ─────────────── LANDING (HOME) ─────────────── */
.landing-hero {
  position: relative;
  min-height: 520px;
  margin: 0 0 56px;
  padding: 100px 24px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(214,168,74,0.10), transparent 60%),
    radial-gradient(ellipse at 50% 110%, rgba(155,29,29,0.20), transparent 60%),
    linear-gradient(180deg, #150c07 0%, #0a0604 100%);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
}
.landing-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,200,120,0.015) 0 2px, transparent 2px 6px),
    radial-gradient(circle at 20% 30%, rgba(226,106,44,0.05), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(155,29,29,0.06), transparent 40%);
  pointer-events: none;
}
.landing-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, transparent, var(--bg-0));
  pointer-events: none;
}
.landing-hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
}
.landing-eyebrow {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 4px;
  color: var(--gold-deep); text-transform: uppercase;
  padding: 4px 14px;
  border: 1px solid var(--gold-deep);
  margin-bottom: 24px;
}
.landing-title {
  font-family: "Cinzel", serif;
  font-size: clamp(64px, 12vw, 130px);
  font-weight: 800; letter-spacing: clamp(8px, 2vw, 20px);
  margin: 0; line-height: 0.95;
  color: var(--gold-bright);
  text-shadow:
    0 0 40px rgba(214,168,74,0.4),
    0 0 80px rgba(155,29,29,0.3),
    0 3px 0 rgba(0,0,0,0.9),
    0 6px 20px rgba(0,0,0,0.7);
}
.landing-subtitle {
  font-family: "Cinzel", serif;
  font-size: clamp(16px, 2.5vw, 24px);
  letter-spacing: clamp(6px, 1.5vw, 12px);
  color: var(--blood-bright); font-weight: 600;
  margin-top: 4px;
  text-shadow: 0 0 18px rgba(200,50,50,0.4);
}
.landing-divider {
  width: 280px; max-width: 70%; height: 1px;
  margin: 32px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.landing-divider::before {
  content: "✦"; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #0a0604; padding: 0 12px;
  color: var(--gold-bright); font-size: 14px;
}
.landing-tagline {
  font-family: "EB Garamond", serif;
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  color: var(--ink-dim);
  max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}
.landing-tagline em {
  color: var(--ember); font-style: italic; font-weight: 500;
}

.landing-cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-family: "Cinzel", serif;
  font-size: 14px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  border-radius: 2px;
  cursor: pointer;
}
.cta-primary {
  background: linear-gradient(180deg, #c83232 0%, #7a1818 100%);
  color: #fff8e8;
  border-color: var(--blood-bright);
  box-shadow:
    0 0 30px rgba(200,50,50,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -2px 0 rgba(0,0,0,0.3);
}
.cta-primary:hover {
  background: linear-gradient(180deg, #e04545 0%, #931f1f 100%);
  box-shadow:
    0 0 40px rgba(200,50,50,0.6),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -2px 0 rgba(0,0,0,0.3);
  transform: translateY(-1px);
}
.cta-primary .cta-mark {
  font-size: 18px; text-shadow: 0 0 10px rgba(255,200,100,0.6);
}
.cta-ghost {
  background: rgba(214,168,74,0.06);
  color: var(--gold-bright);
  border-color: var(--gold-deep);
}
.cta-ghost:hover {
  background: rgba(214,168,74,0.15);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.landing-counters {
  display: flex; justify-content: center; gap: clamp(20px, 5vw, 60px);
  margin-top: 60px;
  flex-wrap: wrap;
}
.landing-counters > div {
  display: flex; flex-direction: column; align-items: center;
}
.landing-counters strong {
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--gold-bright);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 20px rgba(214,168,74,0.3);
}
.landing-counters span {
  font-family: "Cinzel", serif;
  font-size: 10px; letter-spacing: 2px;
  color: var(--ink-mute); text-transform: uppercase;
  margin-top: 6px;
}

/* ─────────────── FEATURES ─────────────── */
.features { margin: 0 0 60px; padding: 0 24px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.features-head { text-align: center; margin-bottom: 36px; }
.features-title {
  font-family: "Cinzel", serif;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 6px; color: var(--gold-bright);
  font-weight: 700; margin: 0;
}
.features-sep {
  width: 100px; height: 1px; margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 28px 24px;
  position: relative;
  transition: all 0.2s ease;
}
.feature-card:hover {
  border-color: var(--gold-deep);
  background: linear-gradient(135deg, rgba(214,168,74,0.06), rgba(20,14,11,0.9));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.feature-icon {
  font-size: 36px; color: var(--gold-bright);
  margin-bottom: 14px;
  text-shadow: 0 0 18px rgba(214,168,74,0.3);
}
.feature-title {
  font-family: "Cinzel", serif;
  font-size: 15px; letter-spacing: 2px;
  color: var(--gold-bright); text-transform: uppercase;
  margin: 0 0 12px; font-weight: 700;
}
.feature-desc {
  color: var(--ink-dim);
  font-size: 15px; line-height: 1.6;
  margin: 0 0 16px;
}
.feature-desc em { color: var(--ember); font-style: italic; }
.feature-link {
  display: inline-block;
  color: var(--gold-bright); text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.feature-link:hover { border-bottom-color: var(--gold); }

/* ─────────────── BOTTOM CTA ─────────────── */
.landing-bottom-cta {
  text-align: center;
  padding: 60px 24px;
  margin: 40px 0 0;
  background:
    radial-gradient(ellipse at center, rgba(155,29,29,0.15), transparent 60%),
    linear-gradient(180deg, transparent, rgba(20,8,4,0.8));
  border-top: 1px solid var(--line-strong);
}
.landing-bottom-cta h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 3px; color: var(--gold-bright);
  margin: 0 0 12px; font-weight: 700;
}
.landing-bottom-cta p {
  color: var(--ink-dim); font-style: italic;
  margin: 0 0 28px;
  font-size: 16px;
}

/* ─────────────── LIST PAGE ─────────────── */
.page-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  flex-wrap: wrap; gap: 12px;
}
.page-title {
  font-family: "Cinzel", serif; font-size: 28px; font-weight: 700;
  letter-spacing: 4px; margin: 0; color: var(--gold-bright);
  text-transform: uppercase;
}
.page-count { color: var(--ink-mute); font-size: 14px; font-style: italic; }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 18px;
}
.filters .field { display: flex; flex-direction: column; gap: 4px; }
.filters .field label {
  font-family: "Cinzel", serif; font-size: 10px; letter-spacing: 1.5px;
  color: var(--gold-deep); text-transform: uppercase;
}
.filters input, .filters select {
  height: 34px;
  background: #0c0805; color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0 10px;
  font-family: inherit; font-size: 14px;
  border-radius: 2px; outline: none;
  min-width: 130px;
}
.filters input:focus, .filters select:focus { border-color: var(--gold); }
.filters input[type=search] { min-width: 220px; }
.filters .clear-btn {
  align-self: flex-end;
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  height: 34px; padding: 0 14px;
  cursor: pointer; font-family: "Cinzel", serif;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}
.filters .clear-btn:hover { color: var(--blood-bright); border-color: var(--blood); }

/* ─────────────── DATA TABLE ─────────────── */
.data-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  font-size: 14px;
}
.data-table thead th {
  background: linear-gradient(180deg, #221710, #1a1108);
  color: var(--gold-deep);
  font-family: "Cinzel", serif; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 12px 10px;
  text-align: left;
  border-bottom: 2px solid var(--gold-deep);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.data-table thead th:hover { color: var(--gold-bright); }
.data-table thead th.sorted-asc::after { content: " ▲"; color: var(--gold); }
.data-table thead th.sorted-desc::after { content: " ▼"; color: var(--gold); }
.data-table tbody tr {
  border-bottom: 1px solid rgba(58,42,32,0.4);
  transition: background 0.1s ease;
}
.data-table tbody tr:hover { background: rgba(214,168,74,0.06); }
.data-table tbody td {
  padding: 10px;
  color: var(--ink);
  vertical-align: middle;
}
.data-table tbody td a {
  color: var(--gold-bright); text-decoration: none; font-weight: 500;
}
.data-table tbody td a:hover { text-decoration: underline; color: var(--gold); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--ink-dim); }
.data-table .id { color: var(--ink-mute); font-family: "JetBrains Mono", monospace; font-size: 12px; }

.pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  margin-top: 18px; color: var(--ink-dim);
}
.pagination button {
  background: var(--bg-panel); color: var(--ink-dim);
  border: 1px solid var(--line-strong);
  padding: 6px 12px; cursor: pointer;
  font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pagination button:disabled { opacity: 0.3; cursor: default; }
.pagination button:not(:disabled):hover { color: var(--gold-bright); border-color: var(--gold); }
.pagination .page-info { font-size: 13px; }

/* ─────────────── TAGS / BADGES ─────────────── */
.tag {
  display: inline-block;
  padding: 2px 8px;
  font-family: "Cinzel", serif; font-size: 10px;
  font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: rgba(0,0,0,0.3);
}
.rarity { font-weight: 700; }
.rarity-common, .r-COMMON { color: var(--r-common); }
.rarity-uncommon, .r-UNCOMMON { color: var(--r-uncommon); }
.rarity-rare, .r-RARE { color: var(--r-rare); }
.rarity-epic, .r-EPIC { color: var(--r-epic); }
.rarity-legendary, .r-LEGENDARY { color: var(--r-legendary); }
.rarity-mythic, .r-MYTHIC { color: var(--r-mythic); text-shadow: 0 0 6px rgba(226,59,59,0.5); }

.elem { font-size: 10px; }
.elem-FIRE { color: var(--e-fire); }
.elem-ICE { color: var(--e-ice); }
.elem-LIGHTNING { color: var(--e-lightning); }
.elem-SHADOW { color: var(--e-shadow); }
.elem-HOLY { color: var(--e-holy); }
.elem-POISON { color: var(--e-poison); }
.elem-EARTH { color: var(--e-earth); }
.elem-NONE { color: var(--e-none); }

/* ─────────────── DETAIL PAGE ─────────────── */
.detail {
  display: grid; grid-template-columns: 1fr 320px; gap: 24px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
}
.detail-main {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 28px;
}
.detail-side {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 20px;
  height: fit-content;
}
.detail-title {
  font-family: "Cinzel", serif; font-size: 32px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: 1px;
  color: var(--gold-bright);
}
.detail-subtitle {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--ink-dim); font-size: 14px;
}
.detail-divider {
  height: 1px; background: linear-gradient(90deg, var(--gold-deep), transparent);
  margin: 18px 0;
}
.detail-section-title {
  font-family: "Cinzel", serif; font-size: 13px; letter-spacing: 2px;
  color: var(--gold-deep); text-transform: uppercase;
  margin: 0 0 12px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px;
}
.stat-row {
  display: flex; justify-content: space-between;
  font-size: 14px; padding: 3px 0;
}
.stat-row .k { color: var(--ink-dim); font-family: "Cinzel", serif; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.stat-row .v { color: var(--ink); font-family: "JetBrains Mono", monospace; font-size: 14px; }
.stat-row .v.pos { color: var(--gold-bright); }

.lore {
  font-style: italic; color: var(--ink-dim);
  background: rgba(0,0,0,0.25); border-left: 3px solid var(--gold-deep);
  padding: 14px 18px; margin: 16px 0;
  font-size: 15px; line-height: 1.7;
}

.breadcrumb {
  font-size: 13px; color: var(--ink-mute);
  margin-bottom: 14px;
  font-family: "Cinzel", serif; letter-spacing: 1px; text-transform: uppercase;
}
.breadcrumb a { color: var(--gold-deep); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { color: var(--ink-mute); margin: 0 8px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-block;
  background: rgba(214,168,74,0.07);
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  font-size: 12px; padding: 3px 10px;
  border-radius: 2px;
  font-family: "Cinzel", serif; letter-spacing: 1px;
}

.dialogue-box {
  background: #0a0604; border: 1px solid var(--line-strong);
  border-left: 3px solid var(--ember);
  padding: 16px 20px;
  font-style: italic; color: var(--ink);
  font-size: 15px; line-height: 1.7;
  margin: 12px 0;
}
.dialogue-box::before {
  content: "“"; font-size: 50px; line-height: 0.4;
  color: var(--ember); margin-right: 6px; vertical-align: -10px;
}

.empty {
  text-align: center; padding: 60px 20px;
  color: var(--ink-mute); font-style: italic;
}

.link-list a {
  display: block; padding: 6px 0;
  color: var(--gold-bright); text-decoration: none;
  border-bottom: 1px dashed rgba(58,42,32,0.6);
  font-size: 14px;
}
.link-list a:hover { color: var(--gold); padding-left: 4px; }

/* ─────────────── MAP CONNECTIONS ─────────────── */
.map-connections {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.map-connections a {
  display: inline-block; padding: 6px 12px;
  background: rgba(214,168,74,0.07);
  border: 1px solid var(--line-strong);
  color: var(--ink); text-decoration: none;
  font-size: 13px;
}
.map-connections a:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ─────────────── FOOTER ─────────────── */
.footer {
  border-top: 1px solid var(--line-strong);
  background: #0a0604;
  padding: 16px 0;
  position: relative; z-index: 2;
}
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer { color: var(--ink-mute); font-size: 13px; }

/* responsive */
@media (max-width: 900px) {
  .topbar .wrap { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .search-mini { min-width: 0; flex: 1; }
  .hero h1 { font-size: 36px; letter-spacing: 4px; }
  .data-table { font-size: 13px; }
  .data-table thead th, .data-table tbody td { padding: 8px 6px; }
}
