/* ═══════════════ YC WORLD HUD ═══════════════ */
:root {
  --orange: #ff6d33;
  --orange-soft: #ff8f5e;
  --bg-panel: rgba(12, 14, 18, 0.86);
  --bg-chip: rgba(255, 255, 255, 0.08);
  --txt: #eef1f6;
  --txt-dim: #9aa3b2;
  --ok: #4cd97b;
  --gold: #ffd166;
  --teal: #4dd0e1;
  --dead: #8b93a1;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #07090d; }
body {
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--txt);
  user-select: none;
}
#scene { position: fixed; inset: 0; display: block; }
.hidden { display: none !important; }

/* ─────────── loader ─────────── */
#loader {
  position: fixed; inset: 0; z-index: 50;
  background: radial-gradient(ellipse at 50% 40%, #171b26 0%, #07090d 75%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease;
}
#loader.fade { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; max-width: 640px; padding: 24px; }
.big-y {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 22px;
  background: linear-gradient(160deg, #ff8a50, #f4501e);
  font-size: 62px; font-weight: 800; line-height: 92px; color: #fff;
  box-shadow: 0 0 60px rgba(255, 109, 51, 0.45);
}
#loader h1 { font-size: 44px; letter-spacing: 10px; font-weight: 800; }
#loader .sub { color: var(--txt-dim); margin: 10px 0 28px; font-size: 15px; }
#load-bar {
  width: 340px; height: 6px; margin: 0 auto; border-radius: 3px;
  background: rgba(255,255,255,0.08); overflow: hidden;
}
#load-fill {
  width: 0%; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #ff6d33, #ffd166);
  transition: width 0.25s ease;
}
#load-msg { margin-top: 12px; color: var(--txt-dim); font-size: 13px; }
#enter-btn {
  margin-top: 26px; padding: 14px 46px; font-size: 17px; font-weight: 700;
  letter-spacing: 2px; color: #fff; background: linear-gradient(160deg, #ff8a50, #f4501e);
  border: none; border-radius: 12px; cursor: pointer;
  box-shadow: 0 8px 40px rgba(255, 109, 51, 0.35);
  transition: transform 0.15s ease;
}
#enter-btn:hover { transform: scale(1.05); }
.keys {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
  margin-top: 26px; color: var(--txt-dim); font-size: 13px;
}
.keys b { color: var(--txt); background: var(--bg-chip); padding: 1px 7px; border-radius: 5px; }
.credit-line { margin-top: 22px; font-size: 13px; color: var(--txt-dim); }
.credit-line a { color: var(--orange-soft); text-decoration: none; font-weight: 700; }
.credit-line a:hover { text-decoration: underline; }

/* ─────────── HUD ─────────── */
#hud { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
#crosshair {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 18px; color: rgba(255,255,255,0.75); font-weight: 300;
}
#crosshair.hot { color: var(--orange); text-shadow: 0 0 8px var(--orange); }
#brand {
  position: absolute; top: 18px; left: 22px; font-weight: 800; font-size: 15px;
  letter-spacing: 4px; color: rgba(255,255,255,0.85);
  padding: 7px 12px; background: var(--bg-panel); border-radius: 9px;
  border-left: 3px solid var(--orange);
  pointer-events: auto;
}
#brand-credit { font-size: 10px; letter-spacing: 0.5px; font-weight: 500; color: var(--txt-dim); margin-top: 2px; }
#brand-credit a { color: var(--orange-soft); text-decoration: none; font-weight: 700; }
#brand-credit a:hover { text-decoration: underline; }
#stats {
  position: absolute; top: 18px; right: 22px; text-align: right;
  background: var(--bg-panel); padding: 8px 14px; border-radius: 9px;
  font-size: 12.5px; color: var(--txt-dim); line-height: 1.55;
}
#clock { color: var(--txt); font-size: 14px; font-weight: 600; }
#district-banner {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; align-items: center;
  background: var(--bg-panel); border-radius: 12px; padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  animation: bannerIn 0.5s ease;
}
@keyframes bannerIn { from { opacity: 0; transform: translate(-50%, -14px); } }
#db-emoji { font-size: 30px; }
#db-name { font-size: 19px; font-weight: 800; letter-spacing: 1px; }
#db-tag { font-size: 12px; color: var(--txt-dim); }
#hint {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--txt-dim); background: var(--bg-panel);
  padding: 7px 16px; border-radius: 9px; white-space: nowrap;
}
#hint b { color: var(--txt); }
#target-label {
  position: absolute; top: calc(50% + 26px); left: 50%; transform: translateX(-50%);
  background: var(--bg-panel); color: var(--txt); font-size: 13px; font-weight: 600;
  padding: 5px 12px; border-radius: 7px; border: 1px solid rgba(255,109,51,0.4);
}
#target-label small { color: var(--txt-dim); font-weight: 400; }

/* proximity card */
#prox-card {
  position: absolute; bottom: 58px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  min-width: 380px; max-width: 560px;
  background: var(--bg-panel); border-radius: 14px; padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.09);
  animation: cardIn 0.25s ease;
}
@keyframes cardIn { from { opacity: 0; transform: translate(-50%, 10px); } }
#pc-logo {
  width: 44px; height: 44px; border-radius: 10px; background: #fff;
  object-fit: contain; flex-shrink: 0;
}
.pc-body { flex: 1; min-width: 0; }
.pc-top { display: flex; align-items: center; gap: 8px; }
#pc-name { font-weight: 800; font-size: 16px; }
#pc-badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
#pc-liner { font-size: 12.5px; color: var(--txt-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#pc-meta { font-size: 11px; color: var(--txt-dim); margin-top: 3px; }
#pc-meta b { color: var(--orange-soft); }
.pc-key {
  width: 30px; height: 30px; border-radius: 7px; background: var(--bg-chip);
  border: 1px solid rgba(255,255,255,0.18); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}

/* badges by status */
.b-active { background: rgba(76,217,123,0.16); color: var(--ok); }
.b-acquired { background: rgba(77,208,225,0.16); color: var(--teal); }
.b-inactive { background: rgba(139,147,161,0.18); color: var(--dead); }
.b-public { background: rgba(255,209,102,0.16); color: var(--gold); }
.b-unicorn { background: rgba(199,125,255,0.18); color: #c77dff; }

/* minimap */
#minimap-wrap {
  position: absolute; bottom: 16px; right: 16px; width: 220px; height: 220px;
  border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.14);
  background: rgba(10,12,16,0.7); box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
#minimap { width: 100%; height: 100%; }

/* toasts */
#toast-zone {
  position: absolute; top: 90px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.toast {
  background: var(--bg-panel); border-radius: 9px; padding: 8px 18px;
  font-size: 13px; border: 1px solid rgba(255,255,255,0.1);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
.toast.out { opacity: 0; transition: opacity 0.6s; }

/* ─────────── dossier ─────────── */
#dossier {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; z-index: 20;
  background: rgba(10, 12, 17, 0.96); backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 26px 26px 20px; overflow-y: auto;
  animation: dossierIn 0.28s ease;
}
@keyframes dossierIn { from { transform: translateX(60px); opacity: 0; } }
#ds-status-band { height: 4px; border-radius: 2px; margin-bottom: 18px; }
#ds-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: var(--bg-chip); color: var(--txt); border: none; border-radius: 8px;
  cursor: pointer; font-size: 14px;
}
#ds-close:hover { background: rgba(255,255,255,0.16); }
.ds-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
#ds-logo { width: 58px; height: 58px; border-radius: 13px; background: #fff; object-fit: contain; }
#ds-name { font-size: 24px; font-weight: 800; line-height: 1.1; }
#ds-liner { color: var(--txt-dim); font-size: 13.5px; margin-top: 4px; }
#ds-val {
  margin: 4px 0 12px; padding: 10px 14px; border-radius: 10px;
  background: linear-gradient(120deg, rgba(255,109,51,0.14), rgba(255,209,102,0.1));
  border: 1px solid rgba(255,166,102,0.25);
  font-size: 14px; font-weight: 700; color: var(--gold);
}
#ds-val small { display: block; color: var(--txt-dim); font-weight: 400; font-size: 11.5px; margin-top: 2px; }
#ds-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.chip {
  font-size: 11.5px; padding: 4px 10px; border-radius: 20px;
  background: var(--bg-chip); color: var(--txt-dim);
}
.chip.hi { color: var(--orange-soft); background: rgba(255,109,51,0.12); }
#ds-desc { font-size: 13.5px; line-height: 1.65; color: #c8cede; }
#ds-founders { margin-top: 16px; }
#ds-founders h4 { font-size: 11px; letter-spacing: 2px; color: var(--txt-dim); margin-bottom: 8px; }
.founder { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.founder span { color: var(--txt-dim); font-size: 12px; }
#ds-links { display: flex; gap: 10px; margin-top: 18px; }
#ds-links a {
  flex: 1; text-align: center; padding: 10px; border-radius: 10px;
  text-decoration: none; font-size: 13px; font-weight: 700;
  background: var(--bg-chip); color: var(--txt);
  border: 1px solid rgba(255,255,255,0.12);
}
#ds-links a.primary { background: linear-gradient(160deg, #ff8a50, #f4501e); border: none; }
#ds-links a:hover { filter: brightness(1.15); }
#ds-nav-hint { margin-top: 16px; text-align: center; font-size: 11px; color: var(--txt-dim); }

/* ─────────── overlays ─────────── */
.overlay {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(5, 7, 10, 0.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.search-box { width: 620px; max-width: 92vw; }
#search-input {
  width: 100%; padding: 18px 22px; font-size: 19px; color: var(--txt);
  background: rgba(20, 24, 32, 0.95); border: 1px solid rgba(255,109,51,0.5);
  border-radius: 14px; outline: none;
}
#search-results { margin-top: 10px; max-height: 55vh; overflow-y: auto; }
.sr-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: rgba(16, 19, 26, 0.92); border-radius: 10px; margin-bottom: 6px;
  cursor: pointer; border: 1px solid transparent;
}
.sr-item.sel, .sr-item:hover { border-color: rgba(255,109,51,0.55); background: rgba(30, 25, 22, 0.95); }
.sr-item img { width: 34px; height: 34px; border-radius: 8px; background: #fff; object-fit: contain; }
.sr-name { font-weight: 700; font-size: 15px; }
.sr-sub { color: var(--txt-dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-dist { margin-left: auto; font-size: 11px; color: var(--txt-dim); white-space: nowrap; }

#map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
#map-title {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  font-size: 14px; letter-spacing: 3px; font-weight: 700; color: var(--txt);
  background: var(--bg-panel); padding: 9px 22px; border-radius: 10px;
}
#map-legend {
  position: absolute; bottom: 18px; left: 18px; font-size: 11.5px; color: var(--txt-dim);
  background: var(--bg-panel); padding: 10px 14px; border-radius: 10px; line-height: 1.7;
}

/* ─────────── time machine ─────────── */
#timemachine {
  position: fixed; bottom: 70px; left: 50%; transform: translateX(-50%);
  z-index: 25; display: flex; align-items: center; gap: 16px;
  width: 720px; max-width: 92vw;
  background: var(--bg-panel); border: 1px solid rgba(255,209,102,0.35);
  border-radius: 14px; padding: 14px 20px;
}
#tm-play, #tm-close {
  width: 38px; height: 38px; border-radius: 9px; border: none; cursor: pointer;
  background: var(--bg-chip); color: var(--txt); font-size: 15px;
}
#tm-play { background: linear-gradient(160deg, #ffd166, #ff9a3c); color: #201505; font-weight: 800; }
#tm-slider { flex: 1; accent-color: var(--orange); }
#tm-info { text-align: right; min-width: 150px; }
#tm-batch { font-weight: 800; font-size: 16px; color: var(--gold); }
#tm-count { font-size: 11.5px; color: var(--txt-dim); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

/* ─────────── v2: lens chip ─────────── */
#lens-chip {
  position: fixed; top: 86px; right: 18px; z-index: 10;
  background: rgba(10, 13, 19, 0.82); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 10px 14px; min-width: 150px;
  backdrop-filter: blur(8px); animation: toastIn 0.25s ease;
}
#lens-name { font-weight: 800; font-size: 13px; letter-spacing: 1px; margin-bottom: 6px; }
#lens-legend { display: flex; flex-direction: column; gap: 3px; }
#lens-legend .ll { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--txt-dim); }
#lens-legend .ll i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ─────────── v2: founder card + observatory ─────────── */
#founder-card, #obs-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; z-index: 21;
  background: rgba(10, 12, 17, 0.96); backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 26px 26px 20px; overflow-y: auto;
  animation: dossierIn 0.28s ease;
}
#fc-close, #obs-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: var(--bg-chip); color: var(--txt); border: none; border-radius: 8px;
  cursor: pointer; font-size: 14px;
}
#fc-close:hover, #obs-close:hover { background: rgba(255,255,255,0.16); }
#fc-band, #obs-band { height: 4px; border-radius: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, #ff6d33, #ffd166); }
#fc-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  background: #1c2028; border: 2px solid rgba(255,255,255,0.14);
}
#fc-name { font-size: 24px; font-weight: 800; line-height: 1.1; }
#fc-role { color: var(--txt-dim); font-size: 13.5px; margin-top: 4px; }
#fc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
#fc-wherenow {
  margin: 4px 0 10px; padding: 10px 14px; border-radius: 10px;
  background: linear-gradient(120deg, rgba(76,217,123,0.13), rgba(77,208,225,0.1));
  border: 1px solid rgba(76,217,123,0.28);
  font-size: 13.5px; font-weight: 700; color: #7fe8a8;
}
#fc-journey { font-size: 12.5px; color: var(--txt-dim); margin: 2px 0 12px; line-height: 1.6; }
#fc-facts { margin-top: 6px; }
#fc-facts .fact {
  font-size: 13px; line-height: 1.55; color: #c8cede;
  padding: 7px 0 7px 22px; position: relative;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
}
#fc-facts .fact::before { content: "✦"; position: absolute; left: 2px; color: var(--orange-soft); }
#fc-quote {
  margin: 14px 0 4px; padding: 12px 16px; border-left: 3px solid var(--orange);
  background: rgba(255,109,51,0.07); border-radius: 0 10px 10px 0;
  font-size: 13px; line-height: 1.6; color: #d8dce6; font-style: italic;
}
#fc-quote small { display: block; margin-top: 8px; font-style: normal; color: var(--txt-dim); font-size: 11px; }
#fc-quote small a { color: var(--txt-dim); }
#fc-links { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
#fc-links a, #fc-links button {
  flex: 1; min-width: 110px; text-align: center; padding: 10px 6px; border-radius: 10px;
  background: var(--bg-chip); border: 1px solid rgba(255,255,255,0.12);
  color: var(--txt); font-size: 12.5px; font-weight: 700; text-decoration: none;
  cursor: pointer; font-family: inherit;
}
#fc-links a.primary, #fc-links button.primary { background: linear-gradient(160deg, #ff8a50, #f4501e); border: none; }
#fc-links a:hover, #fc-links button:hover { filter: brightness(1.15); }

/* ─────────── credits card ─────────── */
#credits-card {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; z-index: 21;
  background: rgba(10, 12, 17, 0.96); backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 26px 26px 20px; overflow-y: auto;
  animation: dossierIn 0.28s ease;
}
.band { height: 4px; border-radius: 2px; margin-bottom: 18px;
  background: linear-gradient(90deg, #ff6d33, #ffd166); }
#cr-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: var(--bg-chip); color: var(--txt); border: none; border-radius: 8px;
  cursor: pointer; font-size: 14px;
}
#cr-close:hover { background: rgba(255,255,255,0.16); }
#cr-monogram {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(160deg, #ff8a50, #f4501e);
  font-size: 32px; font-weight: 800; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(255, 109, 51, 0.4);
}
#credits-card h2 { font-size: 24px; font-weight: 800; line-height: 1.1; }
#cr-role { color: var(--txt-dim); font-size: 13.5px; margin-top: 4px; }
#cr-blurb { font-size: 13.5px; line-height: 1.65; color: #c8cede; margin: 14px 0 4px; }
#cr-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
#cr-links a {
  text-align: center; padding: 12px; border-radius: 10px;
  text-decoration: none; font-size: 14px; font-weight: 700;
  background: var(--bg-chip); color: var(--txt);
  border: 1px solid rgba(255,255,255,0.12);
}
#cr-links a.primary { background: linear-gradient(160deg, #ff8a50, #f4501e); border: none; }
#cr-links a:hover { filter: brightness(1.15); }

/* ─────────── touch controls ─────────── */
#touch-ui { position: absolute; inset: 0; pointer-events: none; }
#joystick {
  position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); left: 22px;
  width: 128px; height: 128px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.18);
  pointer-events: auto; touch-action: none;
}
#joy-nub {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.22); border: 1.5px solid rgba(255,255,255,0.3);
}
#touch-actions {
  position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); right: 18px;
  display: flex; align-items: flex-end; gap: 10px; pointer-events: none;
}
#touch-menu {
  position: absolute; top: 64px; right: 12px;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.tb {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(14, 17, 24, 0.62); color: var(--txt);
  border: 1.5px solid rgba(255,255,255,0.22); font-size: 20px;
  pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none;
  display: flex; align-items: center; justify-content: center;
}
.tb:active { background: rgba(255, 109, 51, 0.45); }
.tb-big {
  width: 68px; height: 68px; font-size: 26px; font-weight: 800;
  border-color: rgba(255, 109, 51, 0.6); color: var(--orange-soft);
}
.tb-big.hot { background: rgba(255, 109, 51, 0.5); color: #fff; }
.tb-sm { width: 42px; height: 42px; font-size: 16px; }

/* ─────────── mobile layout ─────────── */
@media (max-width: 760px), (max-height: 500px) {
  #hint { display: none; }
  #loader-keys { display: none !important; }
  #loader h1 { font-size: 32px; letter-spacing: 6px; }
  #brand { top: 10px; left: 10px; font-size: 12px; letter-spacing: 2px; padding: 5px 9px; }
  #stats { top: 10px; right: 10px; padding: 5px 10px; font-size: 10.5px; }
  #clock { font-size: 12px; }
  #district-banner { top: 8px; padding: 7px 14px; max-width: 60vw; }
  #db-emoji { font-size: 22px; }
  #db-name { font-size: 15px; }
  #db-tag { display: none; }
  #toast-zone { top: 64px; width: 94vw; }
  .toast { font-size: 12px; padding: 6px 12px; text-align: center; }
  #minimap-wrap { display: none; }
  #lens-chip { top: auto; bottom: calc(170px + env(safe-area-inset-bottom)); right: 12px; }
  #prox-card {
    bottom: calc(166px + env(safe-area-inset-bottom));
    min-width: 0; width: 94vw; max-width: 94vw; padding: 9px 12px;
  }
  .pc-key { display: none; }
  #target-label { top: calc(50% + 22px); font-size: 11.5px; max-width: 90vw; text-align: center; }
  #dossier, #founder-card, #obs-panel, #credits-card {
    width: 100vw; border-left: none;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  }
  .search-box { width: 94vw; align-self: flex-start; margin-top: 12vh; }
  #search-input { font-size: 16px; padding: 14px 16px; }
  #search-results { max-height: 46vh; }
  .sr-dist { display: none; }
  #timemachine {
    width: 94vw; padding: 10px 12px; gap: 10px;
    bottom: calc(160px + env(safe-area-inset-bottom));
  }
  #tm-info { min-width: 108px; }
  #tm-batch { font-size: 13px; }
  #map-legend { display: none; }
}

/* ─────────── v2: memorial in dossier ─────────── */
#ds-memorial {
  margin: 14px 0 4px; padding: 12px 14px; border-radius: 10px;
  background: rgba(139, 147, 161, 0.07); border: 1px solid rgba(139,147,161,0.2);
}
#ds-memorial h4 { font-size: 11px; letter-spacing: 2px; color: var(--txt-dim); margin-bottom: 8px; }
#ds-memorial .mq {
  font-size: 12.5px; line-height: 1.55; color: #c2c8d4; font-style: italic;
  padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.05);
}
#ds-memorial .mq small { display: block; font-style: normal; color: var(--txt-dim); font-size: 10.5px; margin-top: 3px; }
#ds-memorial .mq small a { color: var(--txt-dim); }

/* ─────────── v2: observatory panel ─────────── */
#obs-title { font-size: 22px; font-weight: 800; }
#obs-sub { color: var(--txt-dim); font-size: 12.5px; margin: 6px 0 16px; line-height: 1.5; }
#obs-body .obs-sec { margin-bottom: 14px; }
#obs-body .obs-sec h3 { font-size: 14px; font-weight: 800; color: var(--orange-soft); margin-bottom: 5px; }
#obs-body .obs-sec p { font-size: 12.8px; line-height: 1.62; color: #c8cede; }
#obs-credit { margin-top: 16px; font-size: 11px; color: var(--txt-dim); font-style: italic; text-align: center; }

/* ─────────── v2: founder line in dossier gets a hint ─────────── */
.founder.known { cursor: pointer; }
.founder.known:hover { color: var(--orange-soft); }
.founder .fstar { color: var(--gold); margin-right: 5px; }
