/* OKMAI 1.6.5 · saved fishing spots */
.spots-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px}.spots-heading h1{font-size:24px}.spots-heading .primary{min-height:44px;padding:9px 17px;white-space:nowrap}
.spots-view-switch{display:flex;gap:4px;padding:4px;border:1px solid #254650;background:#0c2732;border-radius:14px;margin-bottom:14px;max-width:300px}.spots-view-btn{flex:1;min-height:42px;border:0;border-radius:10px;background:transparent;color:#9cbbc4;font-size:13px;cursor:pointer}.spots-view-btn[aria-pressed=true],.spots-view-btn[aria-selected=true],.spots-view-btn.is-active{background:#63dbb9;color:#063c33;font-weight:650}
.spots-map-host{min-width:0}.spot-map-toolbar{display:flex;gap:10px;margin:0 0 12px}.spot-map-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;background:#102c37;border:1px solid #2d505b;border-radius:12px;padding:0 12px}.spot-map-search svg{width:18px;height:18px;flex-shrink:0;color:#7ba8b4}.spot-map-search input{min-width:0;background:none;border:0;padding:10px 0;min-height:44px;font-size:13px}.spot-map-filter{width:108px;min-width:0;font-size:12px;padding:8px 10px;min-height:44px}
.spot-map-stage{position:relative;isolation:isolate;height:clamp(260px,calc(100dvh - 390px),570px);min-height:260px;border:1px solid #36545b;border-radius:20px;overflow:hidden;background:#dce9e8;color:#163c45}.spot-map-canvas{position:absolute;inset:0;font-family:'Noto Sans Thai',system-ui,sans-serif}.spot-map-canvas.leaflet-container{background:#c6dee2}.spot-map-controls{position:absolute;z-index:800;right:12px;top:12px;display:grid;gap:8px}.spot-map-icon{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #42616a;border-radius:13px;background:#102f3bea;color:#dbf7f0;box-shadow:0 3px 10px #14313726;cursor:pointer}.spot-map-icon svg{width:22px;height:22px}.spot-map-icon:disabled{opacity:.5}
.spot-map-status{position:absolute;z-index:900;top:12px;left:12px;right:68px;background:#0a2b36ef;color:#dbf5ee;border:1px solid #648c8a;padding:10px 12px;border-radius:12px;font-size:12px;line-height:1.6;pointer-events:none;margin:0}.spot-map-status.is-error{color:#ffe0ba}.spot-map-empty{position:absolute;z-index:750;left:16px;right:68px;top:16px;width:max-content;max-width:calc(100% - 84px);margin:0;padding:10px 13px;border-radius:12px;background:#102f3bed;color:#dcf6ee;font-size:12px}.spot-map-stage.is-unavailable{height:180px;min-height:180px;background:#102d38;display:grid;place-items:center}.spot-map-stage.is-unavailable .spot-map-empty{position:static;max-width:90%;width:auto;background:none;text-align:center;color:#a6c7cc}
.spot-map-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 2px;font-size:11px;color:#9cbcc5}.spot-map-legend{display:flex;align-items:center;gap:6px}.spot-map-legend>span{display:inline-block;width:7px;height:7px;border-radius:50%}.spot-map-legend .sea-dot{background:#4da7e3}.spot-map-legend .fresh-dot{background:#56d5a5;margin-left:8px}
.spot-map-pin{background:none;border:0}.spot-pin-body{display:grid;place-items:center;width:38px;height:38px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);border:2px solid white;background:#126a9d;box-shadow:0 3px 8px #0b273a65;color:white}.spot-pin-body svg,.spot-pin-body b{transform:rotate(45deg);width:23px;height:23px}.spot-pin-body b{text-align:center;font:700 16px/23px system-ui}.spot-map-pin.freshwater .spot-pin-body{background:#087e65}.spot-map-pin.mixed .spot-pin-body{background:#545ca4}.spot-map-pin:focus-visible{outline:3px solid #0b4f73;outline-offset:5px;border-radius:12px}
.spot-map-popup-shell .leaflet-popup-content-wrapper,.spot-map-popup-shell .leaflet-popup-tip{background:#112f3d;color:#edf9f5}.spot-map-popup-shell .leaflet-popup-content-wrapper{border-radius:18px;box-shadow:0 8px 28px #071b3255}.spot-map-popup-shell .leaflet-popup-content{margin:17px;width:260px!important;max-width:calc(100vw - 110px);line-height:1.6}.spot-map-popup-shell a.leaflet-popup-close-button{color:#a6ced1;font-size:23px;width:34px;height:34px;padding-top:3px}.spot-map-popup{max-height:clamp(100px,calc(100dvh - 510px),270px);overflow:auto;overscroll-behavior:contain}.spot-map-popup-item+.spot-map-popup-item{border-top:1px solid #32515b;margin-top:14px;padding-top:14px}.spot-map-popup h3{font-size:18px;line-height:1.5;font-weight:650;margin:4px 20px 7px 0;color:#f2fbf8;overflow-wrap:anywhere}.spot-map-popup p{margin:4px 0;font-size:11px;overflow-wrap:anywhere}.spot-map-kind{font-size:10px;color:#74debe}.spot-map-coordinates,.spot-map-depth{color:#afcbd1}.spot-map-pending{font-size:10px;color:#f2d39b}.spot-map-overlap{color:#99c4c9}.spot-map-popup-actions{display:flex;gap:8px;margin-top:12px}.spot-map-popup-actions button{min-height:42px;font-size:12px;padding:8px 10px;border-radius:10px;flex:1;white-space:nowrap}.spot-map-popup-actions .primary{background:#60dfba;color:#073e32}.spot-map-popup-actions .secondary{background:#173e4b;border:1px solid #42616a;color:#e0f2ef}.spot-map-popup-actions button:disabled{opacity:.45}
.spot-map-stage .leaflet-control-attribution{font:10px/1.5 system-ui,sans-serif;background:#ffffffed;color:#324e54;padding:2px 6px;max-width:100%}.spot-map-stage .leaflet-control-attribution a{color:#185474}.spot-map-stage .leaflet-control-zoom{border:1px solid #ccd5d5;border-radius:9px;overflow:hidden}.spot-map-stage .leaflet-control-zoom a{width:34px;height:34px;line-height:34px;background:#fff;color:#174350}.spot-map-stage .leaflet-control-scale{margin-bottom:10px}.spot-map-stage .leaflet-control-scale-line{border-color:#315c64;background:#ffffffcc;color:#173c43;font-size:10px}.spot-map-stage .leaflet-bottom.leaflet-right{max-width:100%}
.spots-device-details{margin:10px 0 18px;border-top:1px solid #244852;padding-top:6px}.spots-device-details>summary{cursor:pointer;min-height:44px;line-height:44px;color:#98bdc4;font-size:12px}.spots-device-details .spot-device-status{margin:0}
@media(min-width:680px){.spots-heading h1{font-size:28px}}
@media(max-width:360px){.spots-heading h1{font-size:21px}.spot-map-filter{width:94px}.spot-map-toolbar{gap:7px}.spot-map-stage{min-height:260px}.spot-map-popup-shell .leaflet-popup-content{margin:14px;max-width:calc(100vw - 100px)}}

/* Keep the focused spot card clear of floating map buttons on small screens. */
.spot-map-stage.is-popup-open .spot-map-controls,.spot-map-stage.is-popup-open .leaflet-control-zoom{visibility:hidden}

.spot-map-parks{font-size:14px;color:#f3c7c1}
