/* holo.css — Hologlobe v0.1 alpha. Original holographic/SciFi styling, no third-party IP. */
:root {
  --green: #35ff9e;
  --cyan:  #66ddff;
  --gold:  #e8c97a;
  --amber: #ffb347;
  --ink:   #03070c;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--ink); }
body {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--green);
  background:
    radial-gradient(1200px 900px at 50% 42%, #0a1622 0%, #04080e 55%, #010305 100%);
}

#holo-stage { position: fixed; inset: 0; z-index: 0; }
#holo-stage canvas { display: block; }

/* ── overlay HUD ── */
.hud { position: fixed; z-index: 2; pointer-events: none; letter-spacing: 0.06em; }
.hud .tl { font-size: 13px; }

#holo-brand {
  top: 18px; left: 20px;
  text-shadow: 0 0 10px rgba(53, 255, 158, 0.55);
}
#holo-brand .sub { color: var(--cyan); font-size: 11px; opacity: 0.8; margin-top: 3px; }

#holo-readouts {
  top: 18px; right: 20px; text-align: right; font-size: 11px; line-height: 1.7;
}
#holo-status { color: var(--amber); text-shadow: 0 0 8px rgba(255, 179, 71, 0.5); }
#holo-sacra  { color: var(--gold);  text-shadow: 0 0 8px rgba(232, 201, 122, 0.5); }

#holo-hint {
  bottom: 64px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--cyan); opacity: 0.5;
}

#holo-audio {
  top: 70px; right: 20px; pointer-events: auto; cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  background: rgba(3, 12, 16, 0.55); border: 1px solid rgba(102, 221, 255, 0.3);
  color: var(--cyan); font: inherit; font-size: 11px; letter-spacing: 0.08em;
  padding: 4px 9px; border-radius: 3px;
}
#holo-audio:hover { border-color: rgba(102, 221, 255, 0.6); }
#holo-audio .ax-glyph { color: var(--gold); }
#holo-audio.on { color: var(--green); border-color: rgba(53, 255, 158, 0.5); box-shadow: 0 0 12px rgba(53, 255, 158, 0.18); }
#holo-audio.on .ax-glyph { animation: ax-pulse 1.6s ease-in-out infinite; }
#holo-audio .ax-track { color: #5fae93; font-size: 10px; margin-left: 2px; }
@keyframes ax-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
#holo-footer a { color: #6fae9a; text-decoration: underline; }

#holo-balance {
  top: 104px; right: 20px; pointer-events: auto;
  display: flex; align-items: center; gap: 7px; color: #5fae93; font-size: 9px; letter-spacing: 0.1em;
}
#holo-balance input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 94px; height: 3px;
  border-radius: 2px; background: rgba(102, 221, 255, 0.25); outline: none; cursor: pointer;
}
#holo-balance input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px rgba(102, 221, 255, 0.7);
}
#holo-balance input[type="range"]::-moz-range-thumb {
  width: 11px; height: 11px; border: none; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px rgba(102, 221, 255, 0.7);
}

#holo-legend { bottom: 60px; left: 20px; font-size: 10px; line-height: 1.85; }
#holo-legend .lg-tt { color: #5fae93; letter-spacing: 0.12em; font-size: 9px; margin-bottom: 5px; }
#holo-legend .lg-row { display: flex; align-items: center; gap: 9px; }
#holo-legend .lg-sw { width: 20px; height: 3px; border-radius: 2px; display: inline-block; }
#holo-legend .lg-x { color: #4f9a80; font-size: 9px; margin-left: 2px; }

#holo-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 8px 16px; text-align: center;
  font-size: 9.5px; color: #4f7a6a; letter-spacing: 0.04em;
  border-top: 1px solid rgba(53, 255, 158, 0.12);
  background: linear-gradient(180deg, transparent, rgba(2, 6, 10, 0.7));
}

/* ── convergence callout ── */
#holo-callout {
  position: fixed; z-index: 3; pointer-events: none;
  min-width: 220px; max-width: 320px;
  padding: 10px 12px;
  background: rgba(3, 12, 16, 0.86);
  border: 1px solid rgba(102, 221, 255, 0.4);
  box-shadow: 0 0 18px rgba(102, 221, 255, 0.18), inset 0 0 22px rgba(53, 255, 158, 0.05);
  border-radius: 3px;
  font-size: 11px; line-height: 1.5; color: #bfeede;
  opacity: 0; transition: opacity 0.12s ease;
}
#holo-callout.show { opacity: 1; }
#holo-callout .co-tag {
  color: var(--amber); font-size: 11px; letter-spacing: 0.1em; margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
}
#holo-callout .co-row { display: flex; gap: 8px; margin: 2px 0; }
#holo-callout .co-row span { color: #5fae93; min-width: 58px; }
#holo-callout .co-row b { color: #e6fff4; font-weight: 600; }
#holo-callout .co-faden {
  margin-top: 7px; color: var(--gold); font-size: 10.5px; opacity: 0.95;
  text-shadow: 0 0 7px rgba(232, 201, 122, 0.4);
}
#holo-callout .co-meta {
  margin-top: 7px; padding-top: 6px; font-size: 10px; color: #4f9a80;
  border-top: 1px solid rgba(53, 255, 158, 0.14);
}
