.ndt-hotspots{width:100%;max-width:100%;margin:1.5em auto}.ndt-hotspots__image{position:relative;display:block;line-height:0;width:100%}.ndt-hotspots__image>img{display:block;width:100%;height:auto;max-width:100%;border:0}.ndt-hotspots__pin{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:clamp(24px,3vw,38px);height:clamp(24px,3vw,38px);min-width:24px;min-height:24px;border:2px solid #fff;border-radius:50%;background:var(--ndt-pin-color,#e63946);color:white;box-shadow:0 2px 9px #0008;font:700 14px/1 system-ui,sans-serif;cursor:pointer;z-index:1;padding:0;transition:scale .15s,box-shadow .15s;touch-action:manipulation}.ndt-hotspots__pin:hover,.ndt-hotspots__pin:focus-visible,.ndt-hotspots__pin.is-active{scale:1.17;box-shadow:0 0 0 3px #ffffffaa,0 3px 10px #0009;z-index:2}.ndt-hotspots__pin:focus-visible{outline:3px solid #111;outline-offset:3px}.ndt-hotspots__rich{line-height:1.6}.ndt-hotspots__rich img{max-width:100%;height:auto;display:block;margin:12px 0}.ndt-hotspots__rich p{margin:0 0 1em}.ndt-hotspots__list{display:grid;gap:14px;margin-top:20px}.ndt-hotspots__article{border:1px solid #ddd;border-radius:9px;padding:18px;scroll-margin-top:100px;background:transparent;outline-offset:3px}.ndt-hotspots__article.is-active{border-color:#416c91;box-shadow:0 0 0 2px #416c9130}.ndt-hotspots__article h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:1.18em}.ndt-hotspots__key{width:30px;height:30px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;flex:none;background:var(--ndt-pin-color);color:#fff;font-weight:700;font-size:13px}.ndt-hotspots__detail[hidden]{display:none!important}.ndt-hotspots__detail{margin-top:16px}.ndt-hotspots__detail-inner{position:relative;background:#fff;color:#222;border:1px solid #ddd;padding:26px;border-radius:12px;max-height:85vh;overflow-y:auto}.ndt-hotspots__detail-title{padding-right:32px;margin:0 0 14px;font-size:1.4em;color:inherit}.ndt-hotspots__close{position:absolute;top:8px;right:12px;font:32px/1 sans-serif;background:transparent;border:0;color:inherit;cursor:pointer;padding:3px 7px}.ndt-hotspots[data-mode="modal"] .ndt-hotspots__detail{position:fixed;inset:0;margin:0;padding:20px;z-index:999999;background:rgba(0,0,0,.65);display:flex;justify-content:center;align-items:center}.ndt-hotspots[data-mode="modal"] .ndt-hotspots__detail-inner{width:min(700px,100%);max-height:min(85vh,850px);box-shadow:0 18px 60px #0005}.ndt-hotspots-modal-open{overflow:hidden}@media(max-width:500px){.ndt-hotspots__pin{font-size:11px}.ndt-hotspots[data-mode="modal"] .ndt-hotspots__detail{padding:12px}.ndt-hotspots__detail-inner{padding:22px 16px}}

/* v1.1: independent marker styles and modal + index */
.ndt-hotspots__pin{width:var(--ndt-pin-size,32px);height:var(--ndt-pin-size,32px);min-width:0;min-height:0;opacity:var(--ndt-pin-opacity,1)}
.ndt-hotspots__pin--square{border-radius:5px}
.ndt-hotspots__pin--diamond{border-radius:5px;transform:translate(-50%,-50%) rotate(45deg)}
.ndt-hotspots__pin--diamond>span{transform:rotate(-45deg)}
.ndt-hotspots__pin--no-border{border:0}
.ndt-hotspots[data-mode="modal_list"] .ndt-hotspots__detail{position:fixed;inset:0;margin:0;padding:20px;z-index:999999;background:rgba(0,0,0,.65);display:flex;justify-content:center;align-items:center}
.ndt-hotspots[data-mode="modal_list"] .ndt-hotspots__detail-inner{width:min(700px,100%);max-height:min(85vh,850px);box-shadow:0 18px 60px #0005}
.ndt-hotspots__index{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin-top:18px}
.ndt-hotspots__index-item{display:flex;align-items:center;gap:12px;text-align:left;padding:11px 14px;border:1px solid #ddd;border-radius:9px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:border-color .15s,background .15s}
.ndt-hotspots__index-item:hover,.ndt-hotspots__index-item:focus-visible,.ndt-hotspots__index-item.is-active{border-color:#416c91;background:rgba(65,108,145,.07)}
.ndt-hotspots__index-item:focus-visible{outline:2px solid #416c91;outline-offset:2px}

/* v1.2 optional rich cards for modal + list, preserving the compact layout */
.ndt-hotspots__index--cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.ndt-hotspots__index--cards .ndt-hotspots__index-item{padding:0;align-items:stretch;gap:0;overflow:hidden;min-height:116px;border-radius:12px;background:#fff;color:#252525}
.ndt-hotspots__index-thumb,.ndt-hotspots__index-placeholder{display:flex;width:112px;min-width:112px;height:auto;min-height:116px;object-fit:cover;align-self:stretch;flex-shrink:0}
.ndt-hotspots__index-placeholder{justify-content:center;align-items:center;background:#edf0f3}
.ndt-hotspots__index-text{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:13px;min-width:0;text-align:left;overflow-wrap:anywhere}
.ndt-hotspots__index-title{display:flex;align-items:center;gap:8px;font-weight:700;line-height:1.25}
.ndt-hotspots__index--cards .ndt-hotspots__key{width:25px;height:25px;font-size:12px}
.ndt-hotspots__index-summary{font-size:.89em;line-height:1.45;color:#555;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
@media(max-width:480px){.ndt-hotspots__index--cards{grid-template-columns:1fr}.ndt-hotspots__index-thumb,.ndt-hotspots__index-placeholder{width:90px;min-width:90px;min-height:105px}}

/* v1.3: independent list shortcode and user-defined responsive columns */
.ndt-hotspots-list-standalone{width:100%;max-width:100%}
.ndt-hotspots-list-standalone .ndt-hotspots__index{margin-top:0}
.ndt-hotspots__index--cols-1{grid-template-columns:minmax(0,1fr)}
.ndt-hotspots__index--cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ndt-hotspots__index--cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ndt-hotspots__index--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:850px){.ndt-hotspots__index--cols-3,.ndt-hotspots__index--cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ndt-hotspots__index--cols-2,.ndt-hotspots__index--cols-3,.ndt-hotspots__index--cols-4{grid-template-columns:minmax(0,1fr)}}

/* v1.6.0 SVG symbols and media-library image pins */
.ndt-hotspots__pin--icon .ndt-pin-svg{display:block;width:65%;height:65%;flex-shrink:0;pointer-events:none}.ndt-hotspots__pin--image{background:transparent;overflow:hidden;border-radius:5px}.ndt-hotspots__pin--image .ndt-pin-custom-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.ndt-hotspots__pin--image.ndt-hotspots__pin--diamond .ndt-pin-custom-image{transform:rotate(-45deg)}
