html,body{height:100%;margin:0}#map{background:#052305;width:100vw;height:100vh}.hud-bar{z-index:1000;background:#000;border:2px solid #fff;font-family:Minecraft,monospace;position:fixed;left:50%;transform:translate(-50%)}.hud-title{white-space:nowrap;padding:6px 16px;font-size:20px;top:12px}.hud-chunk-count{white-space:nowrap;padding:6px 18px;font-size:32px;top:60px}.hud-coords{color:#fff;white-space:nowrap;padding:4px 10px;font-size:13px;bottom:12px;left:12px;transform:none}.hud-toolbar{gap:6px;padding:6px;display:flex;bottom:12px}.hud-sheet-link{padding:6px 12px;text-decoration:none;bottom:60px}.hud-credits-button{padding:4px 10px;font-size:13px;bottom:12px;left:auto;right:12px;transform:none}dialog.hud-dialog{color:#fff;z-index:2000;background:#000;border:3px solid #fff;border-radius:0;min-width:280px;max-width:90vw;margin:0;padding:16px;font-family:Minecraft,monospace;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}dialog.hud-dialog::backdrop{background:#0009}dialog.hud-dialog h2{margin:0 0 12px;font-size:16px}.credits-section{margin-bottom:12px;font-size:13px;line-height:1.6}.credits-section a{color:#7d7dff}.hud-button{color:#fff;cursor:pointer;background:#000;border:1px solid #fff;padding:6px 12px;font-family:Minecraft,monospace;font-size:16px;line-height:1}.hud-button:hover:not(:disabled){background:#333}.hud-button:disabled{opacity:.4;cursor:default}.hud-button.active{background:#333}.hud-select{color:#fff;cursor:pointer;background:#000;border:1px solid #fff;padding:6px 8px;font-family:Minecraft,monospace;font-size:16px;line-height:1}.hud-visualizer-iframe{border:none;width:100%;height:100%;position:absolute;inset:0}.hud-visualizer-iframe[hidden]{display:none}.hud-panel{color:#fff;z-index:1000;background:#000;border:2px solid #fff;max-height:60vh;font-family:Minecraft,monospace;font-size:13px;position:fixed;top:60px;overflow-y:auto}.hud-panel[hidden]{display:none}.hud-list{min-width:180px;right:12px}.hud-colors{min-width:160px;left:12px}.hud-panel-title{border-bottom:1px solid #fff;padding:6px 10px}.poi-list-items,.color-filter-items{margin:0;padding:0;list-style:none}.poi-list-item{cursor:pointer;border-bottom:1px solid #333;padding:6px 10px}.poi-list-item:hover{background:#222}.color-filter-item{cursor:pointer;border-bottom:1px solid #333;align-items:center;gap:8px;padding:6px 10px;display:flex}.color-filter-item:hover{background:#222}.color-swatch{border:1px solid #fff;flex-shrink:0;width:12px;height:12px}.poi-marker-icon{filter:drop-shadow(.3em .3em #000);position:relative}.poi-marker-shape{background:var(--poi-color,red);clip-path:polygon(37.5% 0%,37.5% 3.125%,28.125% 3.125%,28.125% 6.25%,21.875% 6.25%,21.875% 9.375%,18.75% 9.375%,18.75% 12.5%,15.625% 12.5%,15.625% 15.625%,12.5% 15.625%,12.5% 18.75%,9.375% 18.75%,9.375% 21.875%,6.25% 21.875%,6.25% 25%,6.25% 28.125%,3.125% 28.125%,3.125% 31.25%,3.125% 34.375%,3.125% 37.5%,0% 37.5%,0% 40.625%,0% 43.75%,0% 46.875%,0% 50%,0% 53.125%,0% 56.25%,0% 59.375%,0% 62.5%,3.125% 62.5%,3.125% 65.625%,3.125% 68.75%,3.125% 71.875%,6.25% 71.875%,6.25% 75%,6.25% 78.125%,9.375% 78.125%,9.375% 81.25%,12.5% 81.25%,12.5% 84.375%,15.625% 84.375%,15.625% 87.5%,18.75% 87.5%,18.75% 90.625%,21.875% 90.625%,21.875% 93.75%,28.125% 93.75%,28.125% 96.875%,37.5% 96.875%,37.5% 100%,62.5% 100%,62.5% 96.875%,71.875% 96.875%,71.875% 93.75%,78.125% 93.75%,78.125% 90.625%,81.25% 90.625%,81.25% 87.5%,84.375% 87.5%,84.375% 84.375%,87.5% 84.375%,87.5% 81.25%,90.625% 81.25%,90.625% 78.125%,93.75% 78.125%,93.75% 75%,93.75% 71.875%,96.875% 71.875%,96.875% 68.75%,96.875% 65.625%,96.875% 62.5%,100% 62.5%,100% 59.375%,100% 56.25%,100% 53.125%,100% 50%,100% 46.875%,100% 43.75%,100% 40.625%,100% 37.5%,96.875% 37.5%,96.875% 34.375%,96.875% 31.25%,96.875% 28.125%,93.75% 28.125%,93.75% 25%,93.75% 21.875%,90.625% 21.875%,90.625% 18.75%,87.5% 18.75%,87.5% 15.625%,84.375% 15.625%,84.375% 12.5%,81.25% 12.5%,81.25% 9.375%,78.125% 9.375%,78.125% 6.25%,71.875% 6.25%,71.875% 3.125%,62.5% 3.125%,62.5% 0%);display:block;position:absolute;inset:0}.poi-marker-shape:before{content:"";image-rendering:pixelated;clip-path:polygon(40.625% 12.5%,40.625% 15.625%,31.25% 15.625%,31.25% 18.75%,28.125% 18.75%,28.125% 21.875%,25% 21.875%,25% 25%,21.875% 25%,21.875% 28.125%,18.75% 28.125%,18.75% 31.25%,15.625% 31.25%,15.625% 34.375%,15.625% 37.5%,12.5% 37.5%,12.5% 40.625%,12.5% 43.75%,12.5% 46.875%,12.5% 50%,12.5% 53.125%,12.5% 56.25%,12.5% 59.375%,15.625% 59.375%,15.625% 62.5%,15.625% 65.625%,15.625% 68.75%,18.75% 68.75%,18.75% 71.875%,21.875% 71.875%,21.875% 75%,25% 75%,25% 78.125%,28.125% 78.125%,28.125% 81.25%,31.25% 81.25%,31.25% 84.375%,40.625% 84.375%,40.625% 87.5%,59.375% 87.5%,59.375% 84.375%,68.75% 84.375%,68.75% 81.25%,71.875% 81.25%,71.875% 78.125%,75% 78.125%,75% 75%,78.125% 75%,78.125% 71.875%,81.25% 71.875%,81.25% 68.75%,84.375% 68.75%,84.375% 65.625%,84.375% 62.5%,84.375% 59.375%,87.5% 59.375%,87.5% 56.25%,87.5% 53.125%,87.5% 50%,87.5% 46.875%,87.5% 43.75%,87.5% 40.625%,84.375% 40.625%,84.375% 37.5%,84.375% 34.375%,84.375% 31.25%,81.25% 31.25%,81.25% 28.125%,78.125% 28.125%,78.125% 25%,75% 25%,75% 21.875%,71.875% 21.875%,71.875% 18.75%,68.75% 18.75%,68.75% 15.625%,59.375% 15.625%,59.375% 12.5%);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Crect width='1' height='1' fill='%23fff'/%3E%3Crect x='1' y='1' width='1' height='1' fill='%23fff'/%3E%3C/svg%3E");background-size:2px 2px;position:absolute;inset:0}.poi-marker-shape:after{content:"";background:linear-gradient(135deg,#0000 40%,#ffffffe6 50%,#0000 60%);width:200%;height:200%;animation:2s linear infinite poi-shine;position:absolute;top:-50%;left:-50%}@keyframes poi-shine{0%{transform:translate(-100%,-100%)}to{transform:translate(100%,100%)}}.poi-zone-shape{filter:drop-shadow(4px 4px #000)}.poi-chunk-level{box-shadow:none;color:#fff;text-shadow:1px 1px #000;background:0 0;border:none;padding:0;font-family:Minecraft,monospace;font-size:8px}.poi-chunk-level:before,.leaflet-popup-tip-container{display:none}.leaflet-popup-content-wrapper{box-shadow:none;background:#000;border:2px solid #fff;border-radius:0}.leaflet-popup-content{margin:8px 10px;font-family:Minecraft,monospace;font-size:14px}.poi-popup-desc{margin-top:4px}.leaflet-popup-close-button{font-family:Minecraft,monospace;color:#fff!important}
