
  #globe-canvas {
    /* three.js sets this via setAttribute('style') at runtime, which strict CSP
       (style-src-attr 'none') blocks; declaring it here preserves drag-to-rotate
       on touch devices without any inline style. */
    touch-action: none;
    position: fixed; inset: 0;
    width: 100vw; height: 100vh;
    display: block;
    z-index: 0;
  }
  #globe-veil {
    position: fixed; inset: 0; background: #040818;
    z-index: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
  }
  #globe-veil.hidden { opacity: 0; }
  .globe-drag-hint {
    position: fixed;
    bottom: 18px; left: 50%; transform: translateX(-50%);
    color: #3dffaa;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    text-shadow: 0 0 8px rgba(61, 255, 170, 0.55);
    animation: globe-hint-fade 7s ease forwards 1s;
  }
  @keyframes globe-hint-fade {
    0%   { opacity: 0; }
    15%  { opacity: 0.9; }
    75%  { opacity: 0.9; }
    100% { opacity: 0; }
  }
  /* Tooltip that appears when hovering a tool spark. Positioned via
     JS at the cursor each frame; toggled via .visible class so the
     fade animation works on both show + hide. pointer-events: none
     so the tooltip itself never intercepts the click that follows. */
  #globe-tool-tooltip {
    position: fixed;
    padding: 7px 13px;
    background: rgba(4, 8, 24, 0.94);
    border: 1px solid rgba(61, 255, 170, 0.55);
    border-radius: 8px;
    color: #d4ffe6;
    font-family: "Courier New", monospace;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transform: translate(0, -100%);
    transition: opacity 0.14s ease;
    text-shadow: 0 0 8px rgba(61, 255, 170, 0.55);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6),
                0 0 14px rgba(61, 255, 170, 0.18);
    white-space: nowrap;
  }
  #globe-tool-tooltip.visible { opacity: 1; }
  #globe-tool-tooltip::after {
    content: '↗  open in new tab';
    display: block;
    margin-top: 3px;
    font-size: 0.65rem;
    color: rgba(212, 255, 230, 0.55);
    font-weight: 400;
    letter-spacing: 0.04em;
  }
