/* Laura · Kugel auf der Hauptseite (Auszug aus vortex.css). */
:root { --ac: #4fb6ff; --ac-rgb: 79,182,255; --bg: #02060e; --tx: #e8f1ff; --mut: rgba(232,241,255,.55); --glass: rgba(8,14,26,.62); --brd2: rgba(255,255,255,.08);
  --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace; }
@keyframes jvIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes jvBlink { 50% { opacity: 0; } }
:root {
    --ac: #4fb6ff;
    --ac-rgb: 79, 182, 255;
    --bg: #02060e;
    --brd: rgba(79, 182, 255, 0.28);
    --brd2: rgba(79, 182, 255, 0.14);
    --mut: rgba(165, 205, 245, 0.58);
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
#vxCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    cursor: grab;
    touch-action: none;
  }
#vxCanvas.dragging { cursor: grabbing; }
#vxCanvas.hover-node { cursor: pointer; }
@keyframes jvBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.25; }
  }
@keyframes jvIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
:root {
    --ac: #4fb6ff;
    --ac-rgb: 79, 182, 255;
    --bg: #02060e;
    --brd: rgba(79, 182, 255, 0.28);
    --brd2: rgba(79, 182, 255, 0.14);
    --mut: rgba(165, 205, 245, 0.58);
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
#vxCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    cursor: grab;
    touch-action: none;
  }
#vxCanvas.dragging { cursor: grabbing; }
#vxCanvas.hover-node { cursor: pointer; }
@keyframes jvBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.25; }
  }
@keyframes jvIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
#vx-detail {
    position: fixed;
    left: 16px;
    top: 422px;
    width: 326px;
    max-height: calc(100vh - 538px);
    overflow-y: auto;
    z-index: 16;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--mono);
    display: none;
    animation: jvIn 0.22s ease-out;
  }
#vx-detail.open { display: block; }
#vx-detail .det-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--brd2);
  }
#vx-detail .det-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }
#vx-detail .det-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: 0 0 auto;
  }
#vx-detail .det-close {
    background: transparent;
    border: 1px solid var(--brd2);
    color: var(--mut);
    border-radius: 6px;
    padding: 2px 7px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 11px;
  }
#vx-detail .det-close:hover { color: #fff; border-color: var(--ac); }
#vx-detail .det-bar-wrap { margin: 8px 0 10px; }
#vx-detail .det-bar-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--mut);
    margin-bottom: 4px;
  }
#vx-detail .det-bar {
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }
#vx-detail .det-bar > i {
    display: block;
    height: 100%;
    width: 25%;
    border-radius: 4px;
    transition: width 0.3s ease;
  }
#vx-detail .det-desc {
    font-size: 10.5px;
    line-height: 1.45;
    color: rgba(215, 234, 255, 0.88);
    margin-bottom: 8px;
    white-space: pre-line;
  }
#vx-detail .det-chips-title {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--mut);
    margin: 8px 0 5px;
  }
#vx-detail .det-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
  }
#vx-detail .det-chip {
    background: rgba(79, 182, 255, 0.09);
    border: 1px solid var(--brd2);
    color: #d6ebff;
    border-radius: 6px;
    padding: 3px 7px;
    font-family: var(--mono);
    font-size: 9.5px;
    cursor: pointer;
    transition: all 0.15s ease;
  }
#vx-detail .det-chip:hover {
    border-color: var(--ac);
    background: rgba(79, 182, 255, 0.22);
  }
#vx-detail .det-chip.active {
    background: rgba(255, 90, 170, 0.25);
    border-color: #ff6ab5;
    color: #fff;
  }
#vx-detail .det-chip.bot-chip.active {
    background: rgba(70, 255, 195, 0.25);
    border-color: #46ffc3;
    color: #fff;
  }
#vx-detail .det-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 10px;
  }
#vx-detail .det-meta > div {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--brd2);
    border-radius: 7px;
    padding: 5px 7px;
  }
#vx-detail .det-meta small { display: block; font-size: 8.5px; color: var(--mut); }
#vx-detail .det-meta b { font-size: 10.5px; color: #e2f1ff; }
#vx-detail .det-logs-title {
    font-size: 9.5px;
    letter-spacing: 0.16em;
    color: var(--mut);
    margin-bottom: 5px;
  }
#vx-detail .det-logs {
    max-height: 115px;
    overflow-y: auto;
    font-size: 10.5px;
  }
#vx-detail .det-log-it {
    padding: 4px 0;
    border-top: 1px solid var(--brd2);
    color: rgba(220, 236, 255, 0.85);
    line-height: 1.35;
  }
#vx-detail .det-log-it span { color: var(--mut); margin-right: 5px; font-size: 9.5px; }
#vx-view-ctrl {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 15;
    border-radius: 12px;
    padding: 10px 12px;
    width: 298px;
    font-family: var(--mono);
  }
#vx-view-ctrl h4 {
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--ac);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
#vx-view-ctrl .ctrl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    border-top: 1px solid var(--brd2);
    font-size: 10.5px;
    color: var(--mut);
  }
#vx-view-ctrl .ctrl-row:first-of-type { border-top: 0; padding-top: 0; }
#vx-view-ctrl .btn-grp { display: flex; gap: 5px; flex-wrap: wrap; }
#vx-view-ctrl button {
    background: rgba(79, 182, 255, 0.1);
    border: 1px solid var(--brd);
    color: #d6ebff;
    font-family: var(--mono);
    font-size: 9.5px;
    padding: 4px 8px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
  }
#vx-view-ctrl button:hover {
    background: rgba(79, 182, 255, 0.24);
    border-color: var(--ac);
  }
#vx-view-ctrl button.active {
    background: rgba(79, 182, 255, 0.32);
    border-color: #8fd3ff;
    color: #fff;
  }
#vx-view-ctrl .hint {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--brd2);
    font-size: 9.5px;
    color: var(--mut);
    line-height: 1.4;
  }
#vx-detail { left: 16px; right: 16px; width: auto; top: auto; bottom: 455px; max-height: 180px; }
#vx-view-ctrl { left: 16px; right: 16px; width: auto; }

/* Hauptseite: Detail- und Steuerfeld wohnen im Reiter "Kugel" (kein Schweben über dem Bild) */
#panel-rechts #vx-detail, #panel-rechts #vx-view-ctrl { position: static; width: auto; max-height: none; left: auto; right: auto; top: auto; bottom: auto; margin: 0 0 8px; }
#panel-rechts #vx-detail { background: rgba(2,6,23,.6); }
#panel-rechts #vx-view-ctrl { background: rgba(2,6,23,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 10px 12px; }
#kugel-versteckt { display: none; }
#vxCanvas { will-change: transform; transform: translateZ(0); }
