/* opmaak van de gids */
  :root {
    --bg: #0d1b24; --panel: rgba(19, 39, 51, .9); --panel2: rgba(24, 50, 63, .92); --line: #24485a;
    --text: #e4eef2; --muted: #8fb0bd; --accent: #4fc3a1; --accent2: #f2b84b; --chip: #1f3d4c;
    --water: #1d5a78; --water2: #2a7396; --land: #1c3326; --land2: #23402f;
  }
  * { box-sizing: border-box; }
  body { margin: 0; color: var(--text); font: 15px/1.5 system-ui, "Segoe UI", sans-serif; min-height: 100vh; background: var(--bg); }
  /* echte dieptelijnen, markers en dieptekleuren van de Noomaa-map (assets/bg-noomaa.svg en bg-depth.jpg, .claude/tools/build-bg-noomaa.ps1), rustiger achter de inhoud; vaste laag (geen background-attachment: fixed, dat schokt op iOS) */
  :root { --bgfade: linear-gradient(90deg, transparent calc(50% - 760px), rgba(13, 27, 36, .5) calc(50% - 520px), rgba(13, 27, 36, .5) calc(50% + 520px), transparent calc(50% + 760px)); }
  @media (max-width: 600px) { :root { --bgfade: linear-gradient(rgba(13, 27, 36, .35), rgba(13, 27, 36, .35)); } }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none;
    background:
      var(--bgfade),
      url("../assets/bg-noomaa.svg?v=2") right top / cover no-repeat, /* ?v ophogen als dit bestand verandert: de server laat browsers plaatjes een uur bewaren */
      url("../assets/bg-depth.jpg?v=2") right top / cover no-repeat,
      var(--bg); }
  header { padding: 22px 0 0; }
  select option { background: #132733; }
  .wrap { max-width: 1150px; margin: 0 auto; padding: 0 16px; }
  /* header: logo links, titel precies in het midden, NL/EN rechts */
  .top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
  /* rechterhoek: NL/EN bovenaan */
  /* menubalk met rechts de taalkeuze, net iets hoger dan de tabs */
  .navrow { display: flex; align-items: flex-end; gap: 16px; border-bottom: 1px solid var(--line); }
  .navrow nav { flex: 1; min-width: 0; border-bottom: 0; }
  .navrow .lang { margin-bottom: 9px; }
  .tagbox { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  /* streepjes in het groen van de actieve NL/EN-knop */
  .tagbox .orn { display: block; height: 10px; position: relative;
    background: linear-gradient(90deg, transparent, var(--accent) 25%, var(--accent) 75%, transparent) center / 100% 2px no-repeat; }
  .tagbox .orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--accent);
    transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 8px var(--accent); }
  /* zelfde letter en kleur als het menu (nav button.on), alleen groter */
  h1 { margin: 0; font-family: inherit; font-size: clamp(18px, 3vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; text-align: center; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
  h1 span { color: var(--accent); } /* één regel, tweede deel in het groen van de site */
  .top .logo { width: clamp(96px, 17vw, 200px); height: auto; aspect-ratio: 1; border-radius: 50%; justify-self: start; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
  .sub { color: var(--muted); margin: 4px 0 16px; }
  .lang { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
  .lang button { background: none; border: 0; color: var(--muted); padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; }
  .lang button.on { background: var(--accent); color: #062018; }
  nav { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  nav button { background: none; border: 0; color: var(--muted); padding: 10px 14px; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; }
  nav button.on { color: var(--text); border-color: var(--accent); }
  main { padding: 18px 0 60px; }
  .bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
  input, select, textarea { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font: inherit; }
  #q, #fq, #lq, #mq { font-size: 16px; padding-left: 40px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e8a95c' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") no-repeat 12px center; }
  input[type=search] { flex: 1; min-width: 200px; }
  input, select, textarea { transition: border-color .15s ease-out, box-shadow .15s ease-out; }
  input:hover, select:hover, textarea:hover { border-color: #33637a; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 195, 161, .18); }
  select { appearance: none; padding-right: 32px; cursor: pointer; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238fb0bd' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; }
  .btn { background: var(--accent); color: #062018; border: 0; border-radius: 8px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; }
  .btn.ghost { background: var(--chip); color: var(--text); font-weight: 500; }
  .btn.ghost.on { background: var(--accent2); color: #2a1c00; }
  /* reactie op muis en toetsenbord */
  .btn, .chip, .tag, nav button, .lang button, .card > summary { transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, filter .15s ease-out; }
  .btn:hover { filter: brightness(1.08); } .btn.ghost:not(.on):hover, .chip:not(.hit):not(.on):hover, .tag:hover { background: #28506a; }
  .btn:active, .chip:active, .tag:active { transform: translateY(1px); }
  nav button:hover, .lang button:not(.on):hover { color: var(--text); } nav button:not(.on):hover { border-color: var(--line); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .zoombar button:focus-visible, .mapesc:focus-visible, .maplist button:focus-visible { outline-offset: -2px; }
  @media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
  .count { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
  .card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: background-color .15s ease-out, border-color .15s ease-out; }
  .card > summary { list-style: none; cursor: pointer; padding: 12px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .card > summary::-webkit-details-marker { display: none; }
  .card > summary:hover { background: rgba(255, 255, 255, .03); }
  .card[open] { border-color: #33637a; }
  .card[open] > summary { background: var(--panel2); border-bottom: 1px solid var(--line); }
  /* waterwegen als fotoraster (zoals een filmsite); een open tegel wordt een breed paneel onderaan */
  #wlist, .mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 14px; }
  .card.tile { margin: 0; }
  .card.tile:hover { border-color: #33637a; }
  .tile > summary { display: block; padding: 0; }
  .tile > summary:focus-visible { outline-offset: -2px; }
  .tile .thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--panel2); overflow: hidden; }
  .tile .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .18s ease-out; }
  .tile > summary:hover .thumb img { transform: scale(1.04); }
  .tile .thumb::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8, 20, 28, .88)); pointer-events: none; }
  .tile .name { position: absolute; left: 10px; right: 10px; bottom: 7px; z-index: 1; font-size: 15px; line-height: 1.15; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
  .tile .lbbadge { position: absolute; top: 7px; left: 7px; z-index: 1; gap: 4px; padding: 2px 9px 2px 5px; outline-offset: 1px; }
  .tile .lbbadge svg { width: 16px; height: 16px; }
  .tile .lbbadge span { font-size: 11px; }
  .tile .zoom { position: absolute; top: 6px; right: 6px; z-index: 1; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; opacity: 0; transition: opacity .15s ease-out;
    background: rgba(13, 27, 36, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e8a95c' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") no-repeat center; }
  .tile > summary:hover .zoom, .tile .zoom:focus-visible { opacity: 1; }
  .tile .zoom:hover { border-color: #e8a95c; }
  @media (hover: none) { .tile .zoom { opacity: 1; } }
  .tile .meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; padding: 8px 10px 10px; font-size: 12.5px; line-height: 1.35; color: var(--muted); font-variant-numeric: tabular-nums; text-shadow: none; }
  .tile .meta > span { white-space: nowrap; }
  .tile .meta > span:first-child { color: var(--text); font-weight: 600; }
  .tile .meta .own { color: var(--accent2); }
  /* een open tegel staat als breed paneel onder alle dichte tegels (dus onderaan de pagina), bij elke waterweg gelijk */
  .tile[open] { grid-column: 1 / -1; order: 1; scroll-margin-top: 12px; animation: tileOpen .22s ease-out; }
  @keyframes tileOpen { from { opacity: 0; transform: translateY(10px); } }
  .tile[open] > summary { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; }
  .tile[open] .name { font-size: 22px; }
  .tile[open] .meta { position: relative; align-self: stretch; align-content: center; font-size: 14px; color: #e4eef3; row-gap: 6px; padding: 14px 18px; }
  /* open tegel sluiten: klik op de foto of de balk; de tekst zegt het */
  .mhint { display: none; }
  .tile[open] .meta .mhint { display: block; order: -1; width: 100%; white-space: normal; font-size: 16px; color: #e8a95c; font-weight: 600; }
  .tile[open] .body { border-top: 0; }
  @media (prefers-reduced-motion: reduce) { .tile > summary:hover .thumb img { transform: none; } }
  @media (max-width: 600px) { #wlist, .mgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tile .meta { font-size: 12px; padding: 6px 8px 8px; } .tile[open] > summary { grid-template-columns: 1fr; } }
  .lvl { position: relative; isolation: isolate; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em; width: 50px; height: 50px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; padding: 0; box-sizing: border-box; white-space: nowrap;
    text-shadow: -1px -1px 0 #4a2000, 1px -1px 0 #4a2000, -1px 1px 0 #4a2000, 1px 1px 0 #4a2000, 0 0 4px #4a2000; }
  .lvl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/logo-badge.png") center / contain no-repeat; filter: brightness(.72); border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
  /* waterweg met eigen foto (veld img in waterways.js) */
  .lvl.pic { width: 96px; height: 54px; font-size: 12px; align-items: flex-start; justify-content: flex-start; padding: 3px 6px; cursor: zoom-in; }
  .lvl.pic::before { background: var(--img) center / cover no-repeat; filter: brightness(.85); border-radius: 8px; border: 1px solid rgba(232, 169, 92, .6); }
  .lvl.pic:hover::before { filter: brightness(1); }
  .lvl .zoom { position: absolute; right: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(8, 20, 28, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8a95c' stroke-width='3' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") no-repeat center; }
  #lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(4, 10, 14, .88); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; cursor: zoom-out; }
  #lightbox img { display: block; max-width: min(1100px, 90vw); max-height: 78vh; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
  #lightbox .lbwrap { position: relative; }
  /* level-label in visserstijl (alleen in de vergrote weergave) */
  /* label in visserstijl (hengel + tekst): in de vergrote foto en rechtsboven op een ingebouwde kaart */
  .lbbadge { display: flex; align-items: center; gap: 6px; padding: 4px 13px 4px 8px;
    background: linear-gradient(180deg, rgba(22, 44, 66, .94), rgba(10, 22, 34, .94)); border: 2px solid #e8a95c; border-radius: 40px;
    outline: 1.5px dashed rgba(232, 169, 92, .55); outline-offset: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, .55); }
  .lbbadge svg { width: 24px; height: 24px; flex-shrink: 0; }
  .lbbadge span { color: #e8a95c; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
  .lbbadge small { display: block; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; opacity: .85; }
  .lbbadge.none { display: none; }
  #lightbox .lbbadge { position: absolute; top: 12px; left: 12px; }
  /* naam + level van de kaart: hoeklabel precies rechtsboven tegen de rand van de kaart; buitenhoek volgt de kaart, binnenhoek afgerond */
  #mapBadge { position: absolute; z-index: 4; pointer-events: none; text-align: right; gap: 7px; padding: 6px 12px 7px 10px;
    border: 1.5px solid #e8a95c; border-top: 0; border-right: 0; border-radius: 0 8px 0 14px; outline: 0; box-shadow: -2px 3px 10px rgba(0, 0, 0, .45); }
  #mapBadge svg { width: 20px; height: 20px; }
  #mapBadge span { font-size: 12px; letter-spacing: .07em; line-height: 1.15; }
  #mapBadge small { font-size: 9.5px; margin-top: 1px; }
  #lightbox p { margin: 0; color: #e8a95c; font-weight: 700; font-size: 18px; }
  #lightbox button { position: absolute; top: 10px; right: 10px; background: rgba(10, 22, 34, .85); color: #fff; border: 2px solid #e8a95c; border-radius: 50%; width: 34px; height: 34px; font-size: 16px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
  #lightbox button:hover { background: #e8a95c; color: #10202a; }
  .name { font-weight: 600; font-size: 16px; }
  .meta { color: #e4eef3; font-size: 14px; font-weight: 500; margin-left: auto; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
  .body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }
  h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 14px 0 6px; }
  .chips { display: flex; flex-wrap: wrap; gap: 5px; }
  .chip { background: var(--chip); border: 0; color: var(--text); font: inherit; border-radius: 999px; padding: 2px 10px; font-size: 13px; cursor: pointer; }
  .chip.hit, .chip.on { background: var(--accent); color: #062018; }
  .chip.none { opacity: .55; }
  .falt { display: block; font-size: .8em; font-weight: 400; line-height: 1.2; opacity: .72; }
  .chip:has(.falt) { border-radius: 10px; text-align: left; vertical-align: top; }
  .spots { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
  .spot { background: var(--panel2); border-radius: 8px; padding: 10px 12px; }
  .spot b { display: block; } .spot .w { color: var(--muted); font-size: 13px; }
  .spot .n { font-size: 13px; color: var(--accent2); margin-top: 4px; }
  .spot.mine { box-shadow: inset 0 0 0 1px rgba(242, 184, 75, .55); background: linear-gradient(rgba(242, 184, 75, .07), rgba(242, 184, 75, .07)), var(--panel2); }
  ul.tips { margin: 0; padding-left: 18px; } ul.tips li { margin: 3px 0; }
  a { color: var(--accent); }
  .grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
  .box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
  .box h2 { margin: 0 0 8px; font-size: 17px; }
  /* panelenrasters (Geld verdienen, Tips & tricks, Bronnen): duidelijkere koppen en meer lucht */
  .grid2 > .box { padding: 18px 20px; }
  .grid2 > .box h2 { font-size: 20px; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 10px; }
  .grid2 > .box p, .grid2 > .box ul { max-width: 65ch; }
  @media (max-width: 600px) { .grid2 > .box { padding: 14px 16px; } }
  /* Bronnen: groepen met compacte kaarten; de hele kaart is de link */
  .srcgroup + .srcgroup { margin-top: 28px; }
  .srcgroup h2 { margin: 0 0 10px; font-size: 20px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
  .srcgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
  .srcgrid li { display: flex; min-width: 0; }
  .srcgrid .lead { grid-column: 1 / -1; }
  /* achtergrond per groep: rustige spelfoto onder een donkere laag (links het donkerst, daar staat de tekst), met groot lijnicoon rechtsonder */
  .src { position: relative; overflow: hidden; isolation: isolate; }
  .src::before { content: ""; position: absolute; inset: 0; z-index: -2; filter: saturate(.85); background: linear-gradient(90deg, rgba(11, 24, 33, .95) 0%, rgba(11, 24, 33, .86) 60%, rgba(11, 24, 33, .74) 100%), var(--src-img) center / cover no-repeat; }
  .src::after { content: ""; position: absolute; right: -8px; bottom: -12px; width: 92px; height: 92px; z-index: -1; opacity: .2; transition: opacity .15s ease-out; background: var(--src-motif) center / contain no-repeat; }
  .src:hover::after { opacity: .34; }
  .g-official { --src-img: url("../assets/lv-lone-star-rework-s.jpg"); --src-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23e8a95c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M48 24C38 16 24 15 10 18v58c14-3 28-2 38 6 10-8 24-9 38-6V18c-14-3-28-2-38 6zM48 24v58'/%3E%3Cpath d='M18 36c8-3 15-3 22 0M18 48c8-3 15-3 22 0M18 60c8-3 15-3 22 0'/%3E%3Cpath d='M56 44c6-7 15-7 20 0-5 7-14 7-20 0zm20 0 5-5v10z'/%3E%3C/svg%3E"); }
  .g-video { --src-img: url("../assets/lv-maldives-game-s.jpg"); --src-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23e8a95c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='18' width='80' height='60' rx='8'/%3E%3Cpath d='M8 32h80M8 64h80M22 18v14M38 18v14M54 18v14M70 18v14M22 64v14M38 64v14M54 64v14M70 64v14'/%3E%3Cpath d='m40 39 18 9-18 9z'/%3E%3C/svg%3E"); }
  .g-guides { --src-img: url("../assets/lv-rocky-game-s.jpg"); --src-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23e8a95c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='48' cy='48' r='38'/%3E%3Ccircle cx='48' cy='48' r='30' stroke-width='1.5'/%3E%3Cpath d='m62 34-9 19-19 9 9-19zM48 10v8M48 78v8M10 48h8M78 48h8'/%3E%3C/svg%3E"); }
  .g-community { --src-img: url("../assets/lv-weeping-willow-game-s.jpg"); --src-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23e8a95c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 14H16a8 8 0 0 0-8 8v28a8 8 0 0 0 8 8h6v14l16-14h22a8 8 0 0 0 8-8V22a8 8 0 0 0-8-8z'/%3E%3Cpath d='M76 32h4a8 8 0 0 1 8 8v26a8 8 0 0 1-8 8h-4v12L62 74H46'/%3E%3Cpath d='M22 30h32M22 42h22'/%3E%3C/svg%3E"); }
  .src { flex: 1; min-width: 0; display: grid; grid-template-columns: 24px 1fr 14px; gap: 12px; align-items: start; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; text-shadow: none; transition: background-color .15s ease-out, border-color .15s ease-out; }
  .src .ic { width: 24px; height: 24px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s ease-out; }
  .src .tx { min-width: 0; overflow-wrap: anywhere; }
  .src .nm { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
  .src .ds { display: block; margin-top: 4px; max-width: 65ch; color: var(--muted); font-size: 14px; line-height: 1.4; }
  .src .ar { color: var(--muted); line-height: 1.25; transition: color .15s ease-out; }
  .src:hover { background: var(--panel2); border-color: #33637a; }
  .src:hover .ic { stroke: #e8a95c; }
  .src:hover .ar { color: #e8a95c; }
  .src:active { transform: translateY(1px); }
  .lead .src { padding: 18px 20px; background: var(--panel2); border-color: #33637a; }
  .lead .src::after { width: 120px; height: 120px; right: 12px; bottom: -22px; }
  .lead .nm { font-size: 20px; }
  @media (max-width: 600px) {
    .srcgroup + .srcgroup { margin-top: 22px; }
    .src, .lead .src { padding: 12px 14px; }
    .lead .nm { font-size: 17px; }
  }
  .badge { display: inline-block; font-size: 11px; border-radius: 4px; padding: 0 6px; background: var(--chip); color: var(--muted); margin-top: 6px; }
  .fishrow { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
  .fishrow .fn { width: 220px; font-weight: 600; } .fishrow .fn small { display: block; color: var(--muted); font-weight: 400; }
  .fishrow .fl { flex: 1; display: flex; flex-wrap: wrap; gap: 5px; align-items: flex-start; }
  .tag { background: var(--chip); border: 0; color: var(--text); font: inherit; border-radius: 8px; padding: 2px 9px; font-size: 13px; cursor: pointer; text-align: left; }
  .tag i { color: var(--accent2); font-style: normal; }
  .lterms { width: 100%; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-bottom: 2px; }
  .tag.lterm { background: rgba(232, 169, 92, .16); color: #f0c48b; }
  .tag.lterm:hover { background: rgba(232, 169, 92, .3); }
  .fishlink { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(232, 169, 92, .55); text-underline-offset: 3px; }
  .fishlink:hover { color: #e8a95c; text-decoration-color: #e8a95c; }
  .tag.lterm.here { background: rgba(79, 195, 161, .2); color: #8ee0c6; }
  .tag.lterm.here:hover { background: rgba(79, 195, 161, .34); }
  .lwf { position: relative; z-index: 5; margin-bottom: 10px; padding: 12px 14px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; }
  #lwpick { position: relative; }
  #lwLabel { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
  #lw { display: block; box-sizing: border-box; width: 100%; font-size: 16px; padding-left: 40px; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234fc3a1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5a7 7 0 1 0-14 0C5 14.800 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.500' r='2.500'/%3E%3C/svg%3E") no-repeat 12px center; }
  #lwlist { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin: 6px 0 0; padding: 4px; list-style: none; max-height: 340px; overflow-y: auto; background: #132733; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
  #lwlist li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 7px; cursor: pointer; }
  #lwlist li:hover, #lwlist li[aria-selected="true"] { background: var(--chip); }
  #lwlist li.lwnone { color: var(--muted); cursor: default; background: none; }
  .lwimg { flex: none; width: 44px; height: 44px; object-fit: cover; border-radius: 6px; background: var(--chip); }
  .lwt { min-width: 0; flex: 1; } .lwt b { display: block; font-weight: 600; line-height: 1.3; } .lwt small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
  #lwlist em { flex: none; font-style: normal; font-size: 12px; color: var(--accent2); }
  #lwsel:not(.hide) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  #lwsel .lwimg { width: 60px; height: 60px; } #lwsel .lwt b { font-size: 17px; } #lwsel .lwt small { font-size: 13px; }
  #lwsel .lwt { flex: 1 1 180px; } .lwbtns { display: flex; flex-wrap: wrap; gap: 8px; }
  #lshop { margin-bottom: 12px; }
  #lshop:empty { display: none; }
  .madd { margin-bottom: 12px; padding: 10px 14px; } .madd > summary { cursor: pointer; font-weight: 600; color: var(--accent); } .madd[open] > summary { margin-bottom: 10px; }
  .mkinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .mkinds .chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; } .mkinds .chip small { opacity: .7; }
  .kd { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #e9eef0; } .kd.k-unique { background: #ff8a1f; } .kd.k-trophy { background: #3ddc6a; } .kd.k-monster { background: #b46bff; } .kd.k-young { background: var(--muted); }
  .mname small.mwat { color: var(--text); }
  /* kleinere tegels dan Waterwegen, zodat alle meren in één oogopslag te zien zijn; een open tegel blijft gewoon breed */
  @media (min-width: 601px) { .mgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } }
  .mtile:not([open]) .name { left: 8px; right: 8px; bottom: 5px; font-size: 13px; }
  .mtile:not([open]) .lbbadge { top: 5px; left: 5px; padding: 1px 7px 1px 4px; } .mtile:not([open]) .lbbadge svg { width: 13px; height: 13px; } .mtile:not([open]) .lbbadge span { font-size: 10px; }
  .mtile:not([open]) .zoom { top: 4px; right: 4px; width: 24px; height: 24px; }
  .mtile:not([open]) .meta { gap: 1px 8px; padding: 5px 8px 7px; font-size: 12px; }
  .mdots { display: flex; flex-wrap: wrap; gap: 2px 8px; color: var(--muted); font-variant-numeric: tabular-nums; } .tile .meta .mdots span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 400; }
  .mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; align-items: start; }
  .mcard { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
  .mtop { display: flex; align-items: flex-start; gap: 10px; } .mtop .lpic { width: 76px; cursor: pointer; }
  .mname { flex: 1; min-width: 0; } .mname > b { display: block; font-size: 17px; font-weight: 600; line-height: 1.25; } .mname small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
  .mbadge { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
  .mlead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-variant-numeric: tabular-nums; } .mlead b { font-size: 24px; font-weight: 700; line-height: 1.1; } .mlead span { color: var(--muted); }
  .mspot { font-weight: 600; color: var(--accent2); font-size: 14px; overflow-wrap: anywhere; }
  .mfacts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 0; font-size: 14px; } .mfacts dt { color: var(--muted); } .mfacts dd { margin: 0; overflow-wrap: anywhere; } .mfacts i { color: var(--muted); font-style: normal; font-size: 12px; }
  .mnote { margin: 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
  .mact { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 2px; } .mact .chip { text-decoration: none; display: inline-flex; align-items: center; min-height: 26px; } .mact .mdel { background: none; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); margin-left: auto; } .mact .mdel:hover { color: #ff9a9a; box-shadow: inset 0 0 0 1px #d95c5c; }
  #mlist .lmore { margin-top: 12px; } #mlist .count { margin-bottom: 8px; }
  #exp { margin-left: auto; }
  @media (max-width: 600px) { .mcards { grid-template-columns: minmax(0, 1fr); } .mact .chip { min-height: 40px; } #exp { margin-left: 0; } }
  .lrow { display: grid; grid-template-columns: 240px 118px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line); border-radius: 6px; }
  .lrow.noact { grid-template-columns: 240px 118px minmax(0, 1fr); }
  .lrow:last-child { border-bottom: 0; } .lrow:hover { background: rgba(79, 195, 161, .05); }
  .lfn { display: flex; gap: 10px; align-items: center; min-width: 0; } .lfn .lpic { flex: none; width: 56px; height: 36px; padding: 2px; cursor: pointer; }
  .lft { min-width: 0; flex: 1; font-weight: 600; line-height: 1.25; } .lft small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
  .lhk { color: #e8a95c; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } .lhk.none, .lnob { color: var(--muted); font-weight: 400; }
  .llines { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .lline { display: flex; align-items: baseline; gap: 8px; } .llab { flex: none; width: 58px; font-size: 12px; color: var(--muted); }
  .lchips { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
  .lb { background: var(--chip); border: 0; color: var(--text); font: inherit; font-size: 13px; line-height: 1.35; border-radius: 6px; padding: 1px 8px; cursor: pointer; text-align: left; }
  .lb:hover { background: rgba(232, 169, 92, .28); }
  .lb.here { background: rgba(79, 195, 161, .2); color: #8ee0c6; } .lb.here:hover { background: rgba(79, 195, 161, .34); }
  .lb i { color: var(--accent2); font-style: normal; } .lline:not(.open) .lxt, .lline:not(.open) .lxh { display: none; }
  .lxb { background: none; border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 12px; line-height: 1.35; border-radius: 6px; padding: 1px 7px; cursor: pointer; } .lxb:hover { color: var(--text); border-color: var(--muted); }
  .lact .tag { white-space: nowrap; }
  #lcount { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; } .lleg { color: var(--muted); }
  @media (max-width: 600px) { .lrow, .lrow.noact { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "fish act" "hook hook" "lines lines"; padding: 8px 2px; }
    .lfn { grid-area: fish; } .lhk { grid-area: hook; } .llines { grid-area: lines; } .lact { grid-area: act; } .lb, .lxb { padding: 5px 10px; } .lact .tag { padding: 6px 10px; } .lchips { gap: 6px; } .llines { gap: 6px; } }
  #llist:empty { display: none; }
  .lshead:not(:first-child) { margin-top: 16px; }
  .lbt { margin: 0 0 4px; }
  .lshead { margin: 0 0 8px; } .lshead small { margin-left: 6px; color: var(--muted); font-weight: 400; }
  .lshops { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; align-items: start; }
  .lshop { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
  .lshop > summary { list-style: none; cursor: pointer; padding: 7px 10px; display: flex; align-items: center; gap: 10px; }
  .ltxt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
  .lpic { flex: none; display: block; box-sizing: border-box; width: 44px; height: 44px; padding: 3px; object-fit: contain; background: #c4d2d9; border: 1px solid var(--line); border-radius: 8px; }
  .lpic.lsm { width: 32px; height: 32px; padding: 2px; }
  .lpic.lnone { background: var(--chip); }
  .lpic.lwait { visibility: hidden; } /* wacht op een nieuwe poging: geen gebroken-plaatje-icoon */
  .lzoom { position: fixed; z-index: 60; width: 276px; box-sizing: border-box; padding: 8px; background: #132733; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 100ms ease-in, visibility 100ms; }
  .lzoom.on { opacity: 1; visibility: visible; transition: opacity 140ms ease-out; }
  .lzoom img { display: block; box-sizing: border-box; width: 260px; height: 260px; padding: 8px; object-fit: scale-down; background: #c4d2d9; border-radius: 8px; }
  .lzoom b { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--text); }
  .lzoom small { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); }
  .lzoom small:empty { display: none; }
  .lzoom.wide { width: 376px; } .lzoom.wide img { width: 360px; height: 201px; padding: 0; object-fit: cover; background: var(--panel2); }
  .lshop > summary::-webkit-details-marker, .lgroup > summary::-webkit-details-marker { display: none; }
  .lshop > summary:hover { background: rgba(255, 255, 255, .03); }
  .lshop > summary:focus-visible { outline-offset: -2px; }
  .ltxt b { font-weight: 600; }
  .ltxt small { width: 100%; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
  .lh2 { margin-left: auto; color: #e8a95c; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .lx { border: 1px solid var(--accent2); color: var(--accent2); border-radius: 999px; padding: 0 7px; font-size: 11px; letter-spacing: .03em; }
  .ltab { width: calc(100% - 20px); margin: 2px 10px 8px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
  .ltab th { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-align: right; padding: 2px 6px; border-bottom: 1px solid var(--line); }
  .ltab td { text-align: right; padding: 2px 6px; }
  .ltab tbody tr + tr td { border-top: 1px solid rgba(36, 72, 90, .5); }
  .lcol { margin: 0 10px 8px; color: var(--muted); font-size: 12.5px; }
  .lcol-h { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; }
  .lcol ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
  .lcol li { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
  .lshop > .lterm { margin: 0 10px 10px; }
  .lmore { margin-top: 8px; }
  /* winkelgroepen als kleine blokken; een open blok wordt een breed paneel onder de andere, net als Waterwegen */
  .lgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
  .lgroup { min-width: 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color .15s ease-out; }
  .lgroup:hover, .lgroup[open] { border-color: #33637a; }
  .lgroup > summary { list-style: none; cursor: pointer; display: block; }
  .lgpic { display: block; height: 84px; background: #c4d2d9; }
  .lgpic .lpic { width: 100%; height: 100%; padding: 6px; background: none; border: 0; border-radius: 0; }
  .lgpic .lpic.lnone { background: var(--chip); padding: 0; }
  .lgtxt { display: block; padding: 6px 10px 8px; line-height: 1.25; }
  .lgtxt b { display: block; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
  .lgtxt small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); }
  .lghint { display: none; }
  .lgroup[open] { grid-column: 1 / -1; order: 1; scroll-margin-top: 12px; animation: tileOpen .22s ease-out; }
  .lgroup[open] > summary { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
  .lgroup[open] .lgpic { flex: none; width: 150px; }
  .lgroup[open] .lgtxt { flex: 1; align-self: center; min-width: 0; padding: 10px 16px; }
  .lgroup[open] .lgtxt b { font-size: 18px; }
  .lgroup[open] .lghint { display: block; margin-bottom: 3px; font-size: 16px; font-weight: 600; color: #e8a95c; }
  .lgroup[open] > .lshops { padding: 12px; }
  @media (max-width: 600px) { .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lgroup[open] .lgpic { width: 96px; } .lshops { grid-template-columns: minmax(0, 1fr); } .ltab th, .ltab td { padding: 2px 4px; } }
  .fishrow .fn .lh { display: block; margin-top: 2px; color: #e8a95c; font-size: 14px; font-weight: 700; }
  form.add { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-bottom: 14px; }
  form.add textarea { grid-column: 1 / -1; min-height: 60px; }
  .x { float: right; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; }
  .hide { display: none !important; }
  /* Kaart */
  .maplay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; }
  .mapbox { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; position: relative; }
  #map { width: 100%; display: block; border-radius: 8px; touch-action: none; user-select: none; }
  #map.place { cursor: crosshair; }
  .mk { cursor: pointer; transition: opacity .2s; }
  .mk circle.dot { fill: var(--accent2); stroke: #10202a; stroke-width: .35; }
  .mk.own circle.dot { fill: #e98bd8; }
  .mk .pin { fill: #f4f6f8; stroke: #10202a; stroke-width: .35; filter: drop-shadow(0 .3px .4px rgba(0, 0, 0, .6)); }
  .mk .pinhole { fill: #10202a; pointer-events: none; }
  /* kleur per soort vis: unique oranje, trophy groen, common/young wit, monster paars */
  .mk.k-unique .pin { fill: #ff8a1f; } .mk.k-trophy .pin { fill: #3ddc6a; } .mk.k-monster .pin { fill: #b46bff; }
  .mk.k-unique .pinhole, .mk.k-trophy .pinhole, .mk.k-monster .pinhole { fill: #fff; }
  /* zoomen op de kaart */
  .zoombar { position: absolute; left: 16px; top: 16px; z-index: 4; display: flex; flex-direction: column; gap: 4px; align-items: center; }
  .zoombar button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: rgba(14, 30, 42, .9); color: #fff; font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
  .zoombar button:hover { border-color: #e8a95c; color: #e8a95c; }
  .zoombar #zBig { font-size: 16px; }
  /* grote kaart: over de hele pagina, met kruisje rechtsboven om te sluiten */
  .mapbox.big { position: fixed; inset: 2vh 2vw; z-index: 900; padding: 48px 12px 12px; overflow: auto; background: #0e1e2a; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 0 0 100vmax rgba(4, 10, 14, .82); }
  .mapbox.big .zoombar { top: 56px; left: 20px; }
  /* grote kaart + vis-venster open: venster rechts erboven, de kaart maakt plaats (niets ligt over de kaart) */
  body.mapbig #picPanel { z-index: 950; top: 2vh; right: 2vw; width: min(500px, 32vw); max-height: 96vh; }
  body.mapbig:has(#picPanel:not(.hide)) .mapbox.big { right: calc(2vw + min(500px, 32vw) + 12px); }
  @media (max-width: 820px) { body.mapbig #picPanel { width: calc(100vw - 4vw); top: auto; bottom: 2vh; max-height: 45vh; }
    body.mapbig:has(#picPanel:not(.hide)) .mapbox.big { right: 2vw; bottom: calc(45vh + 3vh); } }
  /* uitleg naast het kruisje: Esc sluit alles (alleen grote kaart, niet op touchscreens zonder toetsenbord) */
  .mapesc { display: none; position: absolute; top: 11px; right: 12px; z-index: 5; color: var(--muted); font: inherit; font-size: 14px; background: none; border: 0; border-radius: 8px; padding: 4px 6px; cursor: pointer; }
  .mapesc:hover { color: var(--text); background: rgba(255, 255, 255, .06); } .mapesc:hover kbd { background: #e8a95c; color: #10202a; }
  .mapesc kbd { display: inline-block; padding: 1px 7px; border: 1px solid #e8a95c; border-radius: 5px; color: #e8a95c; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.4; background: rgba(14, 30, 42, .9); }
  .mapbox.big .mapesc { display: block; }
  @media (hover: none) { .mapbox.big .mapesc { display: none; } }
  .zoombar #zoomLvl { font-size: 12px; font-weight: 700; color: #e8a95c; text-shadow: 0 1px 2px #000; }
  /* vierkant kader voor ingebouwde kaarten: zacht bosgroen land rond het water */
  /* land en eilanden: effen olijfgroen, duidelijk anders dan het blauwe water (het water in de kaart is doorzichtig waar land is) */
  #map.square { margin: 0 auto; border-radius: 8px; background: #6b7840; }
  #map.zoomed { cursor: grab; } #map.zoomed.panning { cursor: grabbing; }
  #map.zoomed #mapVw { will-change: transform; } /* eigen laag: slepen verschuift die laag zonder de kaart opnieuw te tekenen */
  /* Mark-modus: altijd het kruisje (ook ingezoomd); alleen tijdens slepen de grijpende hand */
  #map.place, #map.zoomed.place { cursor: crosshair; } #map.zoomed.place.panning { cursor: grabbing; }
  .mk.sel .pin { stroke: #ffd23f; stroke-width: .6; }
  /* navigatieboei: geel zoals in het spel, donkere omlijning; geselecteerd = witte rand */
  .bhull { fill: #ffcc1f; stroke: #10202a; stroke-width: .26; stroke-linejoin: round; }
  .bx { fill: none; stroke: #10202a; stroke-width: .2; stroke-linecap: round; }
  .btop { fill: #10202a; }
  .mk.buoy > path, .mk.buoy > rect { filter: drop-shadow(0 .3px .4px rgba(0, 0, 0, .6)); }
  .mk.buoy.sel .bhull { stroke: #fff; stroke-width: .42; }
  .ibuoy { width: 15px; height: 20px; vertical-align: -4px; flex-shrink: 0; }
  .legend .lbuoy { width: 12px; height: 16px; margin-right: 6px; vertical-align: -3px; }
  .ownpop.buoy { border-color: #ffcc1f; } .ownpop.buoy::after { border-color: #ffcc1f; }
  /* popupje bij een eigen spot */
  .ownpop { position: absolute; z-index: 5; width: 230px; transform: translate(-50%, calc(-100% - 10px)); background: rgba(14, 30, 42, .97); border: 1px solid #ff8a1f;
    border-radius: 10px; padding: 10px 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); font-size: 13px; }
  .ownpop::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: inherit; border-right: 1px solid #ff8a1f; border-bottom: 1px solid #ff8a1f; transform: translateX(-50%) rotate(45deg); }
  .ownpop .x { position: absolute; top: 4px; right: 6px; }
  .ownpop b { display: block; font-size: 15px; padding-right: 18px; }
  .ownpop .sp { color: var(--muted); margin-bottom: 6px; }
  .ownpop label { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
  .ownpop label span { width: 62px; flex-shrink: 0; color: var(--muted); }
  .ownpop input, .ownpop textarea { flex: 1; min-width: 0; padding: 4px 7px; font-size: 13px; }
  .ownpop textarea { resize: vertical; min-height: 34px; }
  .ownpop:not(.data) { width: 260px; max-height: 420px; overflow-y: auto; }
  /* popupje onder de pin als er boven geen ruimte is */
  .ownpop.below { transform: translate(-50%, 10px); } .ownpop.below::after { display: none; }
  .ownpop.data { border-color: #7fb3ff; width: 270px; max-height: 300px; overflow-y: auto; }
  .ownpop.data::after { border-color: #7fb3ff; }
  /* brede schuifbalk in pin-popup, vis-venster en vissenlijst: makkelijk met de muis te pakken */
  .ownpop::-webkit-scrollbar, #picPanel::-webkit-scrollbar, .side .chips::-webkit-scrollbar, #mapInfo::-webkit-scrollbar { width: 26px; }
  .ownpop::-webkit-scrollbar-track, #picPanel::-webkit-scrollbar-track, .side .chips::-webkit-scrollbar-track, #mapInfo::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: 13px; }
  .ownpop::-webkit-scrollbar-thumb, #picPanel::-webkit-scrollbar-thumb, .side .chips::-webkit-scrollbar-thumb, #mapInfo::-webkit-scrollbar-thumb { background: #4f7a95; border-radius: 13px; border: 2px solid transparent; background-clip: padding-box; min-height: 40px; }
  .ownpop::-webkit-scrollbar-thumb:hover, #picPanel::-webkit-scrollbar-thumb:hover, .side .chips::-webkit-scrollbar-thumb:hover, #mapInfo::-webkit-scrollbar-thumb:hover { background-color: #e8a95c; }
  /* kaartenlijst: opent links naast de kaart, in de lege ruimte naast de site */
  .maplist { position: absolute; z-index: 60; overflow-y: auto; padding: 6px; background: #0e1e2a; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
  .maplist h4 { margin: 0; padding: 4px 4px 6px 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 8px;
    position: sticky; top: -6px; z-index: 1; background: #0e1e2a; } /* kop met sluitkruisje blijft bovenaan staan bij scrollen */
  .maplist .mlclose { width: 26px; height: 26px; flex-shrink: 0; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(14, 30, 42, .9); color: var(--text); font-size: 13px; line-height: 1; }
  .maplist .mlclose:hover { background: rgba(14, 30, 42, .9); border-color: #e8a95c; color: #e8a95c; }
  .maplist button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
  .maplist button:hover { background: rgba(255, 255, 255, .07); }
  .maplist button.on { background: var(--accent); color: #0b1820; font-weight: 600; }
  .maplist .lv { min-width: 58px; flex-shrink: 0; white-space: nowrap; font-size: 12px; font-weight: 700; color: #e8a95c; }
  .maplist button.on .lv { color: #0b1820; }
  .maplist .hd { margin-left: auto; font-size: 11px; color: var(--accent); }
  .maplist button.on .hd { color: #0b1820; }
  .maplist::-webkit-scrollbar { width: 26px; }
  .maplist::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: 13px; }
  .maplist::-webkit-scrollbar-thumb { background: #4f7a95; border-radius: 13px; border: 2px solid transparent; background-clip: padding-box; min-height: 40px; }
  .maplist::-webkit-scrollbar-thumb:hover { background-color: #e8a95c; }
  /* schuifbalk van de pagina zelf: breed, in de kleuren van de site, licht op als de muis erop komt */
  html::-webkit-scrollbar { width: 20px; }
  html::-webkit-scrollbar-track { background: #0b1820; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .06); }
  html::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #3f6680, #4f7a95 50%, #3f6680); border-radius: 10px; border: 3px solid #0b1820; min-height: 60px; }
  html::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #d8913f, #f2b56a 50%, #d8913f); box-shadow: inset 0 0 8px rgba(255, 220, 160, .7); }
  html::-webkit-scrollbar-thumb:active { background: #e8a95c; }
  @supports not selector(::-webkit-scrollbar) { html { scrollbar-width: auto; scrollbar-color: #4f7a95 #0b1820; } }
  @supports not selector(::-webkit-scrollbar) { .ownpop, #picPanel, .side .chips, #mapInfo { scrollbar-width: auto; scrollbar-color: #4f7a95 rgba(255, 255, 255, .06); } }
  .ownpop .pblk { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 6px; }
  .ownpop .pblk:first-of-type { border-top: 0; }
  .ownpop .ph { font-weight: 700; font-size: 14px; margin-bottom: 3px; padding-right: 18px; }
  .ownpop .pr { display: flex; gap: 6px; margin-top: 2px; } .ownpop .pr span { width: 108px; flex-shrink: 0; color: var(--muted); white-space: nowrap; }
  .ownpop .pr b { display: inline; font-size: 13px; font-weight: 600; }
  .ownpop .pn { color: var(--accent2); font-size: 12px; margin-top: 3px; }
  .ownpop .flist { display: flex; flex-wrap: wrap; gap: 3px 10px; }
  .ownpop .flist span { display: inline-flex; align-items: center; gap: 4px; }
  .ownpop .mini { height: 24px; max-width: 48px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
  .ownpop .fpic { display: block; height: 52px; max-width: 150px; object-fit: contain; margin: -4px 0 -2px; image-rendering: -webkit-optimize-contrast; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)) contrast(1.06) saturate(1.08); }
  .mk .hit { fill: transparent; } /* groter, onzichtbaar klikgebied */
  .mk text.num { font-size: 1.7px; font-weight: 700; fill: #2a1c00; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
  .mk text.lbl { font-size: var(--lbl, 1.6px); font-weight: 600; fill: #fff; text-anchor: middle; paint-order: stroke; stroke: #0b1820; stroke-width: .45px; pointer-events: none; }
  .mk text.crd { font-size: var(--crd, 1.3px); font-weight: 500; fill: #ffe08a; }
  .mk.hs circle.dot { fill: #7fb3ff; }
  .mk.dim { opacity: .2; }
  .mk.hl circle.dot { fill: var(--accent); }
  .mk.hl circle.ring { fill: none; stroke: var(--accent); stroke-width: .4; animation: pulse 1.4s infinite; transform-box: fill-box; transform-origin: center; }
  .mk.sel circle.dot { stroke: #fff; stroke-width: .6; }
  #map.drag .mk { cursor: move; }
  @keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
  .side { display: flex; flex-direction: column; gap: 10px; }
  .side .box { padding: 12px 14px; }
  .side .chips { max-height: 300px; overflow: auto; }
  /* zijkolom in twee kolommen naast de kaart: vislijst | visafbeelding + info; blijft staan bij scrollen */
  .maplay { grid-template-columns: minmax(0, 1fr) 500px; align-items: start; }
  .side { display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-content: start;
    position: sticky; top: 12px; }
  .side > .box:first-child { grid-row: 1 / 3; display: flex; flex-direction: column; min-height: 0; padding: 12px 10px; }
  .side > .box:first-child h3 { margin: 0 0 8px; }
  .side .chips { max-height: none; overflow: visible; flex-direction: column; flex-wrap: nowrap; gap: 3px; } /* vislijst altijd helemaal zichtbaar, zonder schuifbalk */
  .side .chips > .chip { width: 100%; text-align: left; flex-shrink: 0; border-radius: 8px; padding: 3px 8px; line-height: 1.3; }
  #fishPic, #mapInfo { grid-column: 2; } #fishPic { grid-row: 1; } #mapInfo { grid-row: 2; }
  #fishPic.nofish, #mapHint:empty { display: none; } .side:has(#fishPic.nofish) { row-gap: 0; }
  #mapInfo { min-height: 0; max-height: calc(100vh - 250px); overflow: auto; align-self: start; }
  @media (max-width: 1060px) { /* te krap naast de kaart: terug naar één kolom van 300 px */
    .maplay { grid-template-columns: minmax(0, 1fr) 300px; }
    .side { display: flex; flex-direction: column; position: static; max-height: none; }
    .side .chips { flex-direction: row; flex-wrap: wrap; } #mapInfo { max-height: none; }
    .side .chips > .chip { width: auto; border-radius: 999px; padding: 2px 10px; line-height: inherit; }
    #fishPic.nofish { display: block; } }
  @media (max-width: 820px) { /* onder de kaart: lijst | info naast elkaar */
    .side { display: grid; grid-template-columns: 210px minmax(0, 1fr); } .side > .box:first-child { align-self: start; }
    .side .chips { flex-direction: column; flex-wrap: nowrap; }
    .side .chips > .chip { width: 100%; border-radius: 8px; padding: 3px 8px; line-height: 1.3; } }
  @media (max-width: 600px) {
    .side { grid-template-columns: minmax(0, 1fr); }
    .side > .box:first-child { grid-row: auto; }
    #fishPic, #mapInfo { grid-column: auto; grid-row: auto; }
    .side .chips { flex-direction: row; flex-wrap: wrap; }
    .side .chips > .chip { width: auto; border-radius: 999px; padding: 2px 10px; line-height: inherit; } }
  .hint { color: var(--muted); font-size: 12px; margin: 6px 4px 0; }
  /* in-game coördinaten onder de muis: linksonder in de kaart zelf, alleen zichtbaar tijdens bewegen */
  /* left/bottom worden in JS gezet op de echte hoek van de kaart; afgeronde hoek linksonder past op die van de kaart */
  .mapcursor { position: absolute; left: 8px; bottom: 8px; z-index: 3; pointer-events: none; padding: 6px 12px; border-radius: 0 8px 0 8px;
    background: rgba(8, 22, 32, .8); border: 1px solid var(--line); border-left: 0; border-bottom: 0; color: var(--text); font-size: 15px; font-weight: 600;
    font-variant-numeric: tabular-nums; }
  .mapcursor:empty { display: none; }
  /* Mark-knop: hoeklabel linksonder in de kaart; aan = oranje, daarna klik je op de kaart om een pin te zetten */
  .mapmark { position: absolute; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 0 10px 0 8px;
    background: rgba(8, 22, 32, .85); border: 1px solid var(--line); border-left: 0; border-bottom: 0; color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .mapmark svg { width: 13px; height: 17px; } .mapmark path { fill: #ff8a1f; stroke: #10202a; stroke-width: .35; } .mapmark circle { fill: #fff; }
  .mapmark:hover { color: #e8a95c; }
  .mapmark.on { background: #e8a95c; color: #10202a; border-color: #e8a95c; }
  .mapmark.on path { fill: #fff; }
  /* vast noord-icoon: hoeklabel rechtsonder in de kaart, doet verder niets */
  .mapnorth { position: absolute; z-index: 4; pointer-events: none; display: flex; align-items: center; gap: 5px; padding: 5px 10px 5px 7px; border-radius: 10px 0 8px 0;
    background: rgba(8, 22, 32, .85); border: 1px solid var(--line); border-right: 0; border-bottom: 0; color: var(--text); font-size: 14px; font-weight: 700; }
  .mapnorth svg { width: 20px; height: 20px; }
  /* grote kaart: rechtsonder, hoek gespiegeld */
  .mapbox.big .mapcursor { border-radius: 8px 0 8px 0; border-left: 1px solid var(--line); border-right: 0; font-size: 16px; }
  .setup { background: var(--panel2); border-radius: 8px; padding: 8px 10px; margin: 6px 0; font-size: 13px; }
  .setup b { color: var(--text); } .setup .k { color: var(--muted); }
  .setup .kind { float: right; font-size: 11px; border-radius: 4px; padding: 0 6px; background: var(--chip); }
  .setup .kind.unique { background: #8e5cd9; color: #fff; } .setup .kind.trophy { background: var(--accent2); color: #2a1c00; } .setup .kind.monster { background: #d95c5c; color: #fff; }
  /* eigen icoontjes (ontwerp Johan), in het oranje van de site: speld met plus = eigen spot, vlam = vis met hotspot */
  .ico-place { width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; color: #e8a95c; }
  .btn.ghost.on .ico-place { color: #2a1c00; }
  .ico-hot { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; color: #e8a95c; }
  .chip.on .ico-hot { color: #062018; }
  h3 .ico-hot { width: 15px; height: 15px; }
  .tag small { color: var(--muted); }
  .fishpic h3 { margin-top: 0; }
  .fishpic .pic { background: radial-gradient(circle at 50% 45%, #2a6f8e, #102a36 75%); border-radius: 10px; padding: 8px; cursor: zoom-in; display: flex; align-items: center; justify-content: center; min-height: 110px; }
  .fishpic .pic img { width: 100%; max-height: 170px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
  .fishpic .none { color: var(--muted); font-size: 13px; text-align: center; padding: 16px 6px; }
  #picPanel { position: fixed; right: 16px; top: 90px; width: min(660px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto; z-index: 50;
    background: #132733; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
  #picPanel h2 { margin: 0 30px 8px 0; font-size: 18px; } #picPanel h2 small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
  #picPanel .bigpic { background: radial-gradient(circle at 50% 45%, #2f7fa3, #102a36 75%); border-radius: 12px; padding: 12px; }
  #picPanel .bigpic img { width: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
  #picPanel .x { font-size: 20px; }
  /* kaartknoppen als donker glas: de kaart blijft erdoorheen zichtbaar; geen blur, dat zou slepen en zoomen zwaarder maken */
  .mapbox { --mapglass: rgba(8, 22, 32, .45); --mapglass-hover: rgba(8, 22, 32, .7); --mapglass-line: rgba(255, 255, 255, .22); }
  .zoombar button, .mapmark:not(.on), .mapnorth, .mapcursor, #mapBadge { background: var(--mapglass); text-shadow: 0 1px 2px rgba(0, 0, 0, .85); }
  .zoombar button, .mapmark:not(.on), .mapnorth, .mapcursor, .mapbox.big .mapcursor { border-color: var(--mapglass-line); }
  .zoombar button:hover, .mapmark:not(.on):hover { background: var(--mapglass-hover); }
  .mapmark:not(.on) svg, .mapnorth svg, #mapBadge svg { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)); }
  #mapBadge span { text-shadow: 0 1px 3px rgba(0, 0, 0, .95); }
  .legend { display: flex; gap: 18px; font-size: 15px; color: var(--text); margin: 10px 4px 0; flex-wrap: wrap; }
  .legend i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
  .legend i.lland { border-radius: 3px; background: #6b7840; box-shadow: inset 0 0 0 2px #f6e7b4, 0 0 0 1px rgba(60, 45, 15, .85); }
  .legend i.lpin { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 1px solid #10202a; } /* kaartspeld */
  /* vast op de achtergrond, net als bg-noomaa.svg (scrolt niet mee), maar in procenten van het scherm: zo vallen ze nooit buiten beeld door het bijsnijden van de achtergrond */
  .bgstrip { position: fixed; inset: 0 0 auto; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; }
  .bgstrip > svg:not([width]) { position: absolute; left: var(--x); bottom: var(--y); }
  @media (max-width: 600px) { .bgstrip > .bstop { display: none; } } /* smal scherm: te dicht op het logo en de andere boei */
  .bsb { width: 36px; height: 45px; } .bsm { width: 28px; height: 29px; opacity: .65; } .bsm.green { --c: #3ddc6a; --d: #1f8a3f; } .bsm.orange { --c: #ff8a1f; --d: #b35f12; opacity: .6; }
  footer { color: var(--muted); font-size: 12px; text-align: center; padding: 20px 20px 130px; } /* ruimte onderaan: daar blijven de boeien en markers zichtbaar */
  @media (max-width: 820px) { .maplay { grid-template-columns: minmax(0, 1fr); } }
  /* smal scherm: geen ruimte naast de tabs, taalkeuze rechtsboven in de kop */
  @media (max-width: 820px) { header { position: relative; } .navrow .lang { position: absolute; top: 12px; right: 16px; margin: 0; z-index: 2; } }
  @media (max-width: 600px) { .meta { margin-left: 0; width: 100%; } .fishrow .fn { width: 100%; } h1 { font-size: 5vw; } .top .logo { width: 96px; }
    .top { grid-template-columns: 1fr auto; } .tagbox { grid-column: 1 / -1; grid-row: 2; gap: 8px; } }

