/* NodeHound-kaart: past op dieouweui.css (huisstijl) met de NodeHound-kleuren (roodkoper + ijsblauw) */
.nh { --nh-ore: #d08a2b; --nh-herb: #4fc35a; --nh-chest: #e6c445; --nh-fish: #5aaaff; --nh-blue: #7fc3ff;
  --nh-spirit: #cfefff; --nh-npc: #b57cff; --nh-travel: #f2f2f2; --nh-mail: #e85a5a; }
.nh-node { color: var(--nh-ore); }
.nh-hound { color: var(--nh-blue); }
.nh-tool { margin: 18px 0 8px; }
.nh-banner { display: block; width: min(760px, 94vw); height: auto; margin: 6px auto 4px; border-radius: 14px;
  border: 1px solid rgba(208,138,43,.45); box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 30px rgba(208,138,43,.18); }
.nh-sub { margin: -4px 0 8px; color: #e9c98f; letter-spacing: .04em; font-weight: 600; }
.nh-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; margin-bottom: 10px; }
.nh-bar label { display: grid; gap: 4px; font-size: .9rem; color: var(--muted); }
.nh-bar select, .nh-bar input[type=search] { min-width: 230px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--card); color: var(--fg); font: inherit; }
.nh-search { flex: 1; }
.nh-search input { width: 100%; }
.nh-kinds { display: flex; gap: 12px; border: 0; padding: 0; margin: 0; flex-wrap: wrap; }
.nh-kinds legend { font-size: .9rem; color: var(--muted); padding: 0; margin-bottom: 4px; }
.nh-k { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 6px; color: var(--fg) !important; }
.nh-k::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #000; }
.nh-k-ore::before { background: var(--nh-ore); } .nh-k-herb::before { background: var(--nh-herb); }
.nh-k-chest::before { background: var(--nh-chest); } .nh-k-fish::before { background: var(--nh-fish); }
.nh-k-spirit::before { background: var(--nh-spirit); } .nh-k-npc::before { background: var(--nh-npc); }
.nh-k-travel::before { background: var(--nh-travel); border-radius: 2px; }
.nh-k-mail::before { background: var(--nh-mail); border-radius: 2px; }

.nh-main { display: grid; grid-template-columns: 1fr 280px; gap: 14px; }
.nh-map { position: relative; overflow: hidden; aspect-ratio: 1002 / 668; background: #0b0d12; border: 1px solid var(--line);
  border-radius: 12px; cursor: grab; touch-action: none; user-select: none; }
.nh-map.dragging { cursor: grabbing; }
.nh-canvas { position: absolute; left: 0; top: 0; width: 1002px; height: 668px; transform-origin: 0 0; }
.nh-img { display: block; width: 1002px; height: 668px; pointer-events: none; }
.nh-pins { position: absolute; inset: 0; --inv: 1; }
.nh-pin { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; padding: 0; border-radius: 50%;
  border: 2px solid #000; cursor: pointer; transform: scale(var(--inv)); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.nh-pin-ore { background: var(--nh-ore); } .nh-pin-herb { background: var(--nh-herb); }
.nh-pin-chest { background: var(--nh-chest); border-radius: 3px; } .nh-pin-fish { background: var(--nh-fish); }
/* NodeHound 0.8: geestgenezer (licht, met halo), NPC (paars ruitje), reizen (wit vierkant, groter) */
.nh-pin-spirit { background: var(--nh-spirit); box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 8px rgba(160,220,255,.9); }
.nh-pin-npc { background: var(--nh-npc); border-radius: 2px; transform: scale(var(--inv)) rotate(45deg); }
.nh-pin-dock { background: var(--nh-travel); border-radius: 3px; width: 13px; height: 13px; margin: -6px 0 0 -6px; opacity: .85; }
.nh-pin-mail { background: var(--nh-mail); border-radius: 2px; width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.nh-pin-travel { background: var(--nh-travel); border-radius: 3px; width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.nh-pin.multi { box-shadow: 0 0 0 2px rgba(255,255,255,.75); }
.nh-pin.hit { width: 16px; height: 16px; margin: -8px 0 0 -8px; box-shadow: 0 0 0 3px #ffd34d, 0 0 12px #ffd34d; }
.nh-pin:hover, .nh-pin:focus { outline: none; box-shadow: 0 0 0 3px #fff; z-index: 2; }
.nh-empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--inv)); margin: 0;
  background: rgba(0,0,0,.7); color: #fff; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nh-zoom { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; }
.nh-zoom button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: rgba(10,12,16,.85);
  color: #fff; font-size: 1.2rem; cursor: pointer; }
.nh-zoom button:hover { border-color: var(--nh-blue); }
.nh-tip { position: absolute; z-index: 5; display: grid; gap: 2px; max-width: 260px; padding: 8px 10px; border-radius: 8px;
  background: rgba(8,10,14,.94); border: 1px solid var(--nh-ore); color: #ddd; font-size: .85rem; pointer-events: none; }
.nh-tip b { color: #fff; }

.nh-side { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; max-height: 70vh; overflow: auto; }
.nh-side-h { margin: 2px 4px 8px; font-size: 1rem; }
.nh-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nh-res { width: 100%; display: grid; text-align: left; gap: 2px; padding: 6px 8px 6px 22px; border-radius: 8px; border: 1px solid transparent;
  background: none; color: var(--fg); cursor: pointer; position: relative; font: inherit; }
.nh-res:hover { border-color: var(--line); background: rgba(255,255,255,.04); }
.nh-res::before { content: ""; position: absolute; left: 6px; top: 11px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #000; }
.nh-res-ore::before { background: var(--nh-ore); } .nh-res-herb::before { background: var(--nh-herb); }
.nh-res-chest::before { background: var(--nh-chest); } .nh-res-fish::before { background: var(--nh-fish); }
.nh-res .zn { color: var(--muted); font-size: .82rem; }
.nh-none { color: var(--muted); padding: 6px; }
.nh-dl .du-btn { margin: 4px 6px 4px 0; }
.nh-credit { margin-top: 26px; text-align: center; }

/* Volledig scherm: kaart over het hele scherm, zoeken/filters en resultaten zweven erboven */
.nh-panels-btn { display: none; }
.nh-tool.nh-full { position: fixed; inset: 0; z-index: 9999; margin: 0; background: #07090d; }
.nh-full .nh-panels-btn { display: block; }
.nh-full .nh-main { display: block; position: absolute; inset: 0; }
.nh-full .nh-map { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border: 0; border-radius: 0; }
.nh-full .nh-bar, .nh-full .nh-side { position: absolute; z-index: 6; background: rgba(8, 10, 14, .88); border: 1px solid rgba(208, 138, 43, .45);
  border-radius: 14px; box-shadow: 0 12px 34px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); transition: opacity .2s, transform .2s; }
.nh-full .nh-bar { top: 14px; left: 14px; display: grid; gap: 8px; width: min(380px, calc(100% - 76px)); padding: 10px 12px; margin: 0; }
.nh-full .nh-bar > label { font-size: 0; gap: 0; width: auto; }
.nh-full .nh-bar select, .nh-full .nh-bar input[type=search] { font-size: .92rem; min-width: 0; width: 100%; padding: 7px 9px; }
.nh-full .nh-kinds legend { display: none; }
.nh-full .nh-kinds { gap: 4px 12px; }
.nh-full .nh-kinds .nh-k { width: auto; font-size: .85rem; }
.nh-full .nh-side { bottom: 14px; left: 14px; width: min(380px, calc(100% - 76px)); max-height: 34%; padding: 8px; }
.nh-full .nh-side-h { font-size: .9rem; margin: 0 4px 6px; }
.nh-full .nh-res { padding: 4px 8px 4px 22px; }
.nh-full .nh-res::before { top: 9px; }
.nh-full.nh-hide .nh-bar { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.nh-full.nh-hide .nh-side { opacity: 0; transform: translateX(12px); pointer-events: none; }
.nh-full .nh-zoom { top: 14px; right: 14px; }
.nh-full .nh-zoom button[aria-pressed="true"] { border-color: var(--nh-ore); }
body.nh-noscroll { overflow: hidden; }

@media (max-width: 900px) {
  .nh-main { grid-template-columns: 1fr; }
  .nh-side { max-height: 320px; }
  .nh-bar select, .nh-bar input[type=search] { min-width: 0; width: 100%; }
  .nh-bar label { width: 100%; }
}
.nh-tip .nh-sells { margin-top: 4px; color: #fff; font-weight: 600; }
.nh-tip .nh-sell { font-size: .92em; opacity: .85; }
.nh-tip .nh-sell.hit { color: #ffd257; opacity: 1; }
