/* ChainToon bathymetry v3 — legend, basemap switcher, spot numbers, source list. Pair with js/bathymetry.js and js/basemap.js */
.bathy2-legend { margin: .5rem 0 .25rem; padding: .55rem .65rem; background: rgba(255,255,255,.92); border: 1px solid #c9d6dc; border-radius: 6px; font-size: .78rem; line-height: 1.35; color: #14323d; }
.bathy2-legend[hidden] { display: none; }
.bathy2-title { font-weight: 700; margin-bottom: .3rem; }
.bathy2-bar { height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.25); }
.bathy2-ticks { display: flex; justify-content: space-between; font-size: .7rem; color: #3b5560; margin: 2px 0 .45rem; }
.bathy2-row { display: flex; align-items: center; gap: .45rem; margin: .25rem 0; }
.bathy2-nosurvey { flex: none; width: 22px; height: 12px; border: 1px solid #888; border-radius: 2px;
  background: repeating-linear-gradient(135deg, rgba(120,120,120,.85) 0 3px, rgba(200,200,200,.6) 3px 6px); }
.bathy2-line { flex: none; width: 22px; height: 12px; border-radius: 2px; background: #1f8a5a;
  background-image: linear-gradient(#7ef0d6, #7ef0d6), linear-gradient(#c6fff0, #c6fff0), linear-gradient(#7ef0d6, #7ef0d6);
  background-size: 100% 1px, 100% 1.6px, 100% 1px; background-position: 0 2px, 0 6px, 0 10px; background-repeat: no-repeat; box-shadow: 0 0 5px rgba(63,224,192,.8); }
.bathy2-num { flex: none; width: 22px; height: 12px; border-radius: 2px; background: #1f8a5a; color: #fff; font: 700 10px/12px system-ui, sans-serif; text-align: center; text-shadow: 0 0 2px rgba(4,30,20,.7); }
.bathy2-note { margin: .45rem 0 0; font-size: .72rem; color: #4a6670; }
.bathy2-img { image-rendering: auto; }
canvas.bathy2-spots { position: absolute; left: 0; top: 0; pointer-events: none; }
.bathy2-src { margin: .35rem 0 .35rem 1rem; padding: 0; font-size: .78rem; }
.bathy2-src li { margin: .25rem 0; }
/* basemap switcher */
.bm-sub { margin-left: 1.4rem; }
.bm-note { margin: .35rem 0 0; }
.leaflet-refLabels-pane { mix-blend-mode: screen; opacity: .85; }
.ref-labels-tiles { filter: grayscale(1) invert(1) contrast(1.7); }
/* lake names read as light italic grey on satellite */
#map.base-sat .lake-label { color: #e3e8ea; font-style: italic; font-weight: 300; text-shadow: 0 0 3px rgba(0,0,0,.9), 0 0 7px rgba(0,0,0,.65); }
@media (max-width: 700px) { .bathy2-legend { font-size: .74rem; } #map.base-sat .leaflet-control-attribution { font-size: 9px; padding: 0 4px; } }
