.pdg #pdg-results { margin-top: 32px; }
.pdg .pdg-panel { margin-top: 16px; padding: 18px; background: #151b27; border: 1px solid #30394b; border-radius: 12px; }
.pdg .pdg-controls { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
.pdg .pdg-controls select, .pdg .pdg-controls input { width: 100%; }
.pdg #pdg-selection-status { margin-top: 10px; }
.pdg #pdg-network { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; margin: 18px 0 8px; }
.pdg #pdg-network:empty { display: none; }
.pdg .pdg-hub { background: #1b345b; border: 1px solid #6c9ae0; padding: 14px; border-radius: 9px; text-align: center; overflow-wrap: anywhere; }
.pdg .pdg-neighbors { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pdg .pdg-neighbors li { position: relative; }
.pdg .pdg-neighbors li::before { content: ""; position: absolute; inset: 50% auto auto -24px; width: 24px; border-top: 1px solid #5978a2; }
.pdg .pdg-neighbors button { width: 100%; text-align: left; overflow-wrap: anywhere; }
.pdg #pdg-path { overflow-wrap: anywhere; }
.pdg #pdg-evidence caption { text-align: left; font-weight: 700; padding: 8px 0; }
.pdg #pdg-evidence td { min-width: 108px; }
.pdg #pdg-evidence [data-status="missing"] { color: #ffc3ba; }
.pdg #pdg-evidence [data-status="unknown"] { color: #ffdfa3; }
.pdg #pdg-pages { align-items: center; margin-top: 12px; }
.pdg .pdg-next-move { padding: clamp(20px, 5vw, 44px); background: #172744; }
.pdg .pdg-next-move > p:first-child { color: #a9caff; font-weight: 700; letter-spacing: .08em; }
@media (max-width: 580px) {
  .pdg .pdg-controls { grid-template-columns: minmax(0, 1fr); }
  .pdg #pdg-network { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pdg .pdg-neighbors { margin-left: 12px; padding-left: 12px; border-left: 1px solid #5978a2; }
  .pdg .pdg-neighbors li::before { inset-inline-start: -12px; width: 12px; }
}
