/* Kelly Page -- Packet Journey: pj-net, the live network canvas (js/pj-net.js). Everything that moves is drawn on the
 * canvas by JS and stops; these are steady styles only (kelly-page/CLAUDE.md "nothing loops forever"). */
.pj-net-host { position: relative; overflow: hidden; }
.pj-net-cv { position: absolute; inset: 0; display: block; width: 100%; height: 100%; outline: none; touch-action: manipulation; }
.pj-net-cv:focus-visible { box-shadow: inset 0 0 0 2px var(--cyan); }

.pj-net-ctl { position: absolute; top: 10px; right: 12px; display: flex; gap: 6px; z-index: 2; }
.pj-net-btn { padding: 4px 10px; font-size: 12.5px; border-radius: 9px; background: rgba(10, 17, 36, .82); backdrop-filter: blur(3px); }

.pj-net-key { position: absolute; right: 12px; bottom: 8px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 12px; max-width: 60%;
  font: 600 10.5px var(--mono); color: var(--dim); pointer-events: none; z-index: 1; }
.pj-net-key i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; border: 1.5px solid; border-radius: 50%; }
.pj-net-key i.me { border-color: #00e5ff; background: #062033; box-shadow: 0 0 6px #00e5ff; border-radius: 2px; }
.pj-net-key i.rpt { border-color: #ff2bd6; background: rgba(255, 43, 214, .35); border-radius: 1px; transform: rotate(45deg) scale(.85); }
.pj-net-key i.cmp { border-color: #8fb4ff; background: rgba(143, 180, 255, .35); }
.pj-net-key i.ph { border-color: #5b6b8c; border-style: dashed; }

.pj-net-info { position: absolute; top: 52px; left: 12px; z-index: 3; width: min(290px, calc(100% - 24px)); padding: 10px 12px 8px;
  background: rgba(8, 14, 30, .92); border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 0 18px rgba(0, 229, 255, .16), inset 0 0 0 1px rgba(0, 229, 255, .06);
  font-size: 13px; color: var(--text); }
.pj-net-info[hidden] { display: none; }
.pj-net-ih { display: flex; align-items: center; gap: 8px; padding-right: 22px; margin-bottom: 6px; }
.pj-net-ih i { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.pj-net-ih b { font: 700 13px var(--display); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-net-info dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0; }
.pj-net-info dt { color: var(--mute); font: 600 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.pj-net-info dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-net-info dd.mono { font: 12px var(--mono); color: var(--cyan); }
.pj-net-info .dim { color: var(--dim); }
.pj-net-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--dim); cursor: pointer; font-size: 13px; }
.pj-net-x:hover { color: #fff; background: var(--raised); }

@media (max-width: 600px) {
  .pj-net-key { display: none; }
  .pj-net-info { top: auto; bottom: 8px; }
}
