.knx-goong-nearby-demo{margin:32px 0}
.knx-goong-nearby-demo .kng-nearby__head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.knx-goong-nearby-demo .kng-nearby__head strong{font-size:22px}
.knx-goong-nearby-demo .kng-nearby__head span{font-size:13px;opacity:.65}
.knx-goong-nearby-demo .kng-nearby__body{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}
.knx-goong-nearby-demo .kng-nearby__map{position:relative;height:460px;border-radius:10px;overflow:hidden;background:#edf1f4}
.knx-goong-nearby-demo .kng-goong-map{width:100%;height:100%}
.knx-goong-nearby-demo .kng-radius-overlay{position:absolute;z-index:2;box-sizing:border-box;border:2px dashed rgba(242,139,122,.82);border-radius:50%;background:transparent;transform:translate(-50%,-50%);pointer-events:none}
.knx-goong-nearby-demo .kng-radius-badge{position:absolute;z-index:8;left:14px;top:14px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 2px 8px rgba(0,0,0,.18);color:#df6f60;font-size:12px;font-weight:700;pointer-events:none}
.knx-goong-nearby-demo .kng-map-message{position:absolute;z-index:4;inset:auto 16px 16px;padding:10px 12px;border-radius:8px;background:rgba(255,255,255,.96);box-shadow:0 2px 10px rgba(0,0,0,.16);font-size:13px;line-height:1.45}
.knx-goong-nearby-demo .kng-nearby__side{box-sizing:border-box;border:1px solid #e6e6e6;border-radius:10px;padding:14px;display:flex;flex-direction:column;max-height:460px;background:#fff}
.knx-goong-nearby-demo .kng-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.knx-goong-nearby-demo .kng-chip{border:1px solid #ddd;background:#fff;border-radius:999px;padding:5px 11px;font-size:13px;cursor:pointer;line-height:1.4}
.knx-goong-nearby-demo .kng-chip:hover,.knx-goong-nearby-demo .kng-chip:focus-visible{border-color:#e8452a;outline:none}
.knx-goong-nearby-demo .kng-chip.is-on{background:#e8452a;border-color:#e8452a;color:#fff}
.knx-goong-nearby-demo .kng-chip b{font-weight:700}
.knx-goong-nearby-demo .kng-list{overscroll-behavior:contain;list-style:none;margin:0;padding:0;overflow-y:auto;flex:1}
.knx-goong-nearby-demo .kng-list li{display:flex;justify-content:space-between;gap:10px;padding:9px 4px;border-bottom:1px solid #f0f0f0;cursor:pointer;font-size:14px}
.knx-goong-nearby-demo .kng-list li:hover{background:#fdf3f1;outline:none}
.knx-goong-nearby-demo .kng-list li:focus-visible{background:#fdf3f1;outline:2px solid rgba(232,69,42,.28);outline-offset:-2px}
.knx-goong-nearby-demo .kng-list .kng-nm{flex:1;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.knx-goong-nearby-demo .kng-list .kng-ct{display:block;font-size:11px;opacity:.58;margin-top:2px}
.knx-goong-nearby-demo .kng-list .kng-ds{white-space:nowrap;font-weight:700;color:#e8452a;font-size:13px}
.knx-goong-nearby-demo .kng-state{padding:22px 4px;font-size:14px;opacity:.7;text-align:center}
.knx-goong-nearby-demo .kng-state.is-error{color:#b42318;opacity:1}
.knx-goong-nearby-demo .kng-note{padding:2px 4px 10px;font-size:12px;line-height:1.5;opacity:.7;border-bottom:1px solid #ececec;margin-bottom:8px}
.knx-goong-nearby-demo .kng-center-marker{z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:82px;color:#222;font-size:11px;font-weight:800;pointer-events:none}
.knx-goong-nearby-demo .kng-center-marker__pin{position:relative;display:flex;align-items:center;justify-content:center;width:62px;height:58px;padding:0;border:0;background:transparent;box-shadow:none}
.knx-goong-nearby-demo .kng-center-marker__pin::before,.knx-goong-nearby-demo .kng-center-marker__pin::after{content:"";position:absolute;z-index:0;left:50%;top:50%;width:68px;height:68px;box-sizing:border-box;border:2px solid rgba(239,65,47,.48);border-radius:50%;opacity:0;transform:translate(-50%,-50%) scale(.86);animation:kng-center-ripple 2.2s cubic-bezier(.2,.65,.35,1) infinite;will-change:transform,opacity;pointer-events:none}
.knx-goong-nearby-demo .kng-center-marker__pin::after{animation-delay:-1.1s}
.knx-goong-nearby-demo .kng-center-marker__pin img{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 5px rgba(0,0,0,.26))}
.knx-goong-nearby-demo .kng-center-marker__pin b{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;background:#e8452a;color:#fff;filter:drop-shadow(0 4px 5px rgba(0,0,0,.26))}
.knx-goong-nearby-demo .kng-center-marker__dot{position:relative;z-index:3;display:block;width:12px;height:12px;margin-top:2px;border:3px solid #fff;border-radius:50%;background:#ef412f;box-shadow:0 1px 5px rgba(0,0,0,.32);transform:translateY(50%)}
@keyframes kng-center-ripple{0%{opacity:.48;transform:translate(-50%,-50%) scale(.86)}75%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.42)}}
.knx-goong-nearby-demo .maplibregl-ctrl-top-left,.knx-goong-nearby-demo .maplibregl-ctrl-top-right,.knx-goong-nearby-demo .maplibregl-ctrl-bottom-left,.knx-goong-nearby-demo .maplibregl-ctrl-bottom-right{z-index:8}
.knx-goong-nearby-demo .kng-poi-dot-marker{z-index:4;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;font-family:inherit;font-size:0;cursor:pointer}
.knx-goong-nearby-demo .kng-poi-dot-marker::before{content:"";display:block;width:11px;height:11px;box-sizing:border-box;border:2px solid #fff;border-radius:50%;background:rgba(242,139,122,.92);box-shadow:0 1px 4px rgba(15,23,42,.25)}
.knx-goong-nearby-demo .kng-poi-dot-marker:hover::before,.knx-goong-nearby-demo .kng-poi-dot-marker:focus-visible::before{background:#ef7565;outline:3px solid rgba(242,139,122,.26);outline-offset:2px}
.knx-goong-nearby-demo .maplibregl-popup,
.kng-poi-popup-layer{z-index:50 !important;font-family:inherit !important}
.knx-goong-nearby-demo .maplibregl-popup-content,
.kng-poi-popup-layer .maplibregl-popup-content{font-family:inherit !important;background:rgba(255,255,255,.38);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);border:1px solid rgba(255,255,255,.7);border-radius:10px;box-shadow:0 4px 18px rgba(0,0,0,.12);padding:10px 14px 10px 12px}
.knx-goong-nearby-demo .maplibregl-popup-anchor-top .maplibregl-popup-tip,
.knx-goong-nearby-demo .maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
.knx-goong-nearby-demo .maplibregl-popup-anchor-top-right .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-top .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{border-bottom-color:rgba(255,255,255,.38)}
.knx-goong-nearby-demo .maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.knx-goong-nearby-demo .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.knx-goong-nearby-demo .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{border-top-color:rgba(255,255,255,.38)}
.knx-goong-nearby-demo .maplibregl-popup-anchor-left .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-left .maplibregl-popup-tip{border-right-color:rgba(255,255,255,.38)}
.knx-goong-nearby-demo .maplibregl-popup-anchor-right .maplibregl-popup-tip,
.kng-poi-popup-layer.maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:rgba(255,255,255,.38)}
.knx-goong-nearby-demo .maplibregl-popup-close-button,
.kng-poi-popup-layer .maplibregl-popup-close-button{top:6px;right:8px;font-size:16px;line-height:1;color:#222;padding:2px 5px;border-radius:4px;font-family:inherit}
.knx-goong-nearby-demo .maplibregl-popup-close-button:hover,
.kng-poi-popup-layer .maplibregl-popup-close-button:hover{color:#000;background:rgba(255,255,255,.5)}
.knx-goong-nearby-demo .kng-poi-popup{display:grid;gap:3px;min-width:150px;color:#111;padding-right:12px;font-family:inherit !important}
.knx-goong-nearby-demo .kng-poi-popup strong,
.knx-goong-nearby-demo .kng-poi-popup .kng-poi-title{font-family:inherit !important;font-size:14px;line-height:1.35;word-break:break-word;color:#111;font-weight:700;text-shadow:0 1px 2px rgba(255,255,255,.9);text-decoration:none;display:inline-block;cursor:pointer}
.knx-goong-nearby-demo .kng-poi-popup .kng-poi-title:hover{color:#e8452a;text-decoration:underline}
.knx-goong-nearby-demo .kng-poi-popup .kng-poi-ext{font-size:12px;opacity:.8;display:inline-block;transition:transform .15s ease}
.knx-goong-nearby-demo .kng-poi-popup .kng-poi-title:hover .kng-poi-ext{transform:translate(1px,-1px);opacity:1}
.knx-goong-nearby-demo .kng-poi-popup span{font-family:inherit !important;font-size:11px;color:#222;font-weight:600;text-shadow:0 1px 2px rgba(255,255,255,.9)}
.knx-goong-nearby-demo .kng-poi-popup small{font-family:inherit !important;font-size:10px;line-height:1.35;color:#333;text-shadow:0 1px 2px rgba(255,255,255,.9)}
.knx-goong-nearby-demo .kng-poi-popup b{font-family:inherit !important;font-size:12px;color:#d8361b;font-weight:700;text-shadow:0 1px 2px rgba(255,255,255,.9)}
.knx-goong-nearby-demo .maplibregl-ctrl-attrib{font-size:10px}
@media(max-width:1024px){
    .knx-goong-nearby-demo .kng-list{flex:0 1 auto;height:auto;max-height:clamp(240px,42dvh,340px);overflow-y:auto;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y}
}
@media(max-width:900px){
    .knx-goong-nearby-demo .kng-nearby__body{grid-template-columns:1fr}
    .knx-goong-nearby-demo .kng-nearby__map{height:340px}
    .knx-goong-nearby-demo .kng-nearby__side{max-height:none}
}
@media(max-width:520px){
    .knx-goong-nearby-demo{margin:24px 0}
    .knx-goong-nearby-demo .kng-nearby__map{height:300px}
    .knx-goong-nearby-demo .kng-radius-badge{left:10px;top:10px}
    .knx-goong-nearby-demo .kng-center-marker__pin{width:54px;height:50px}
    .knx-goong-nearby-demo .kng-center-marker__pin::before,.knx-goong-nearby-demo .kng-center-marker__pin::after{width:60px;height:60px}
    .knx-goong-nearby-demo .kng-center-marker__pin b{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){
    .knx-goong-nearby-demo .kng-center-marker__pin::before,.knx-goong-nearby-demo .kng-center-marker__pin::after{animation:none;opacity:.18;transform:translate(-50%,-50%) scale(1.08)}
    .knx-goong-nearby-demo .kng-center-marker__pin::after{display:none}
}
