:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172f57;background:#f5f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:flex;flex-direction:column}header{padding:21px 34px;background:#172f57;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px}.identity{display:flex;gap:14px;align-items:center}.mark{width:43px;height:43px;border:1px solid #ffffff65;display:grid;place-items:center;font-weight:700;font-size:15px;letter-spacing:-1px}.eyebrow{margin:0 0 4px;letter-spacing:2.5px;font-size:10px;font-weight:650;color:#c4d3e8}h1{font-size:24px;font-weight:600;margin:0;letter-spacing:-.5px}h1 span{margin-left:8px;font-size:14px;font-weight:400;color:#bbcae0;letter-spacing:0}.download{display:flex;gap:12px;align-items:center;text-decoration:none;color:#fff;font-size:13px;padding:11px 15px;border:1px solid #ffffff45;border-radius:7px;min-height:44px}.download:hover{background:#ffffff12}.download span{font-size:19px}main{flex:1;display:flex;flex-direction:column;padding:0 30px}.map-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:16px 0;font-size:12px;color:#5c6a7b}.map-meta i{display:inline-block;width:19px;height:3px;vertical-align:middle;background:#0871ff;margin-right:7px}.stage{position:relative;flex:1;min-height:460px;height:calc(100svh - 210px);max-height:1100px;background:radial-gradient(ellipse at 52% 35%,#fff 0%,#e8ebef 100%);border:1px solid #d7dde6;border-radius:12px;overflow:hidden}model-viewer{display:block;width:100%;height:100%;min-height:460px;--poster-color:transparent}button{font:inherit;min-height:44px;cursor:pointer;color:#172f57;background:#fff;border:1px solid #dce2ea;border-radius:7px;padding:9px 14px;white-space:nowrap}button:hover{background:#edf3fb}button:focus-visible,a:focus-visible{outline:3px solid #61a4ff;outline-offset:3px}.view-label{pointer-events:none;position:absolute;left:20px;top:19px;display:flex;gap:8px;align-items:center;font-size:12px;color:#52637b}.live-dot{width:6px;height:6px;border-radius:50%;background:#0871ff}.relief{border-left:1px solid #bac5d3;padding-left:10px;margin-left:3px;color:#78869a}.zoom-controls{position:absolute;right:18px;top:17px;display:flex;flex-direction:column;gap:7px}.zoom-controls button{width:44px;height:44px;font-size:24px;padding:0;box-shadow:0 2px 9px #142b4b09}.bottom-bar{position:absolute;bottom:18px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;pointer-events:none}.gesture{font-size:12px;color:#5a687c;background:#ffffffda;padding:11px 14px;border-radius:7px;margin:0}.gesture span{padding:0 5px}.actions{display:flex;gap:7px;pointer-events:auto;font-size:12px}footer{padding:11px 0 16px;display:flex;justify-content:space-between;gap:12px;font-size:10px;line-height:1.6;color:#6d7788}footer p{margin:0}footer span{padding:0 5px}.hotspot{background:#172f57;color:#fff;border:2px solid #fff;border-radius:5px;min-height:0;padding:3px 6px;font-size:11px;font-weight:650;box-shadow:0 1px 5px #00173140;pointer-events:none;white-space:nowrap;opacity:1;transition:opacity .15s}.hotspot:not([data-visible]){opacity:0}.hide-labels .hotspot:not(.usmin-hotspot),.hide-labels .usmin-label{display:none}#loading{position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);font-size:14px;color:#52637b;background:#ffffffee;padding:16px 22px;border-radius:10px;white-space:nowrap}#load-error{position:absolute;top:44%;left:10%;right:10%;text-align:center;background:#fff;padding:22px;border-radius:10px;line-height:1.6;font-size:14px}.ready #loading{display:none}@media(max-width:700px){header{padding:15px 17px}.mark{width:34px;height:34px;font-size:12px}.identity{gap:9px}h1{font-size:20px}h1 span{display:block;font-size:11px;margin:2px 0 0}.eyebrow{font-size:8px;letter-spacing:1.5px}.download{font-size:11px;padding:9px 10px;gap:5px}main{padding:0 12px}.map-meta{font-size:10px;flex-wrap:wrap;padding:11px 2px}.stage{height:calc(100svh - 227px);min-height:430px;border-radius:10px}model-viewer{min-height:430px}.view-label{top:16px;left:13px;font-size:10px;gap:5px}.zoom-controls{right:12px;top:12px}.bottom-bar{left:12px;right:12px;bottom:12px;flex-direction:column;gap:10px}.gesture{font-size:10px;padding:7px 11px}.actions{width:100%;justify-content:center;font-size:11px}.actions button{flex:1;padding:9px 8px}.hotspot{font-size:10px;padding:3px 5px}footer{font-size:9px;display:block;text-align:center;padding:9px 0 12px}footer p+p{margin-top:3px}}

.fallback-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.fallback-image[hidden]{display:none}#load-error{top:auto;bottom:105px;left:18%;right:18%;font-size:12px;padding:12px 18px;background:#ffffffed;box-shadow:0 3px 22px #172f5712}.view-label[hidden]{display:none}button:disabled{opacity:.45;cursor:default}@media(max-width:700px){#load-error{left:8%;right:8%;bottom:130px}}

.usmin-legend{position:absolute;left:20px;top:45px;display:flex;align-items:center;gap:12px;font-size:11px;color:#27354b;background:#ffffffeb;padding:8px 11px;border:1px solid #dce2ea;border-radius:6px;pointer-events:none}.usmin-legend strong{font-size:10px;letter-spacing:.7px}.usmin-legend span{display:flex;align-items:center;gap:5px}/* Standard mine symbols remain a readable size at every zoom level. */
.legend-symbol{width:18px;height:18px;vertical-align:middle}.usmin-hotspot{position:relative;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:2px;border:0;border-radius:50%;background:transparent;box-shadow:none;pointer-events:auto;overflow:visible;transition:opacity .15s}.usmin-hotspot .working-symbol{width:28.5px;height:28.5px;display:block;position:relative;z-index:1;filter:drop-shadow(0 1px 2px #0005)}.usmin-hotspot:hover,.usmin-hotspot[aria-pressed=true]{background:#ffdc6b66}.usmin-hotspot:not([data-visible]){pointer-events:none;visibility:hidden}/* Labels move or hide when crowded; glyphs stay at their geographic anchors. */
.usmin-label{position:absolute;transform:none;font-size:11px;font-weight:700;color:#15191f;text-shadow:-1px -1px 0 white,1px -1px 0 white,-1px 1px 0 white,1px 1px 0 white,0 0 4px white;pointer-events:none;visibility:hidden}.usmin-hotspot[data-label-visible] .usmin-label{visibility:visible}
.usmin-hotspot.label-above,.usmin-hotspot.label-left,.usmin-hotspot.label-right{transform:none}
.marker-label{transform:translateY(-135%)}
@media(max-width:700px){.usmin-hotspot .working-symbol{width:18px;height:18px;filter:drop-shadow(0 1px 1px #0004)}.usmin-label{font-size:10px}.marker-label{font-size:9px;padding:3px 4px}}

.hide-usmin .usmin-hotspot,.usmin-legend[hidden],.feature-card[hidden]{display:none}.feature-card{position:absolute;left:20px;top:91px;width:280px;max-width:calc(100% - 85px);background:#fffef9f7;border:1px solid #d6dce5;border-radius:9px;padding:16px;box-shadow:0 5px 24px #172f5722;color:#24344b}.feature-card h2{font-size:16px;margin:8px 20px 10px 0}.feature-card p{font-size:12px;line-height:1.5;margin:5px 0}.feature-card .feature-kicker{font-size:8px;letter-spacing:1.2px;color:#8b631b;margin-right:20px}.feature-card .feature-source{font-size:10px;color:#6d7788;border-top:1px solid #e1e4e9;margin-top:10px;padding-top:9px}#close-feature{position:absolute;right:3px;top:3px;border:0;background:transparent;font-size:22px;padding:0;width:40px;height:40px;min-height:40px}.actions button[aria-pressed=true]{background:#f1f6ff;border-color:#a4bce0}@media(max-width:700px){.usmin-legend{left:12px;top:40px;font-size:10px;gap:10px;padding:7px 9px}.usmin-legend strong{font-size:9px}.feature-card{left:12px;top:81px;padding:12px}.actions{gap:5px}.actions button{padding:8px 5px;font-size:10px}.stage{height:calc(100svh - 250px)}}

.access-label{background:#ffcc62;color:#33230c;border:1px solid #fff3cf;font-weight:750;font-size:12px;padding:5px 10px;box-shadow:0 2px 6px #241a1140;transform:translateY(-130%)}
[hidden]{display:none!important}h1 #name{font-size:inherit;color:inherit;font-weight:inherit;margin:0;display:inline}

/* Keep the model out of flex sizing, including before WebGL initializes. */
model-viewer{position:absolute;inset:0}
body.embedded{height:100svh;min-height:0;overflow:hidden}
.embedded header{padding:12px 16px}
.embedded main{min-height:0;padding:0 12px}
.embedded .map-meta{padding:10px 0}
.embedded .stage{flex:1;min-height:0;height:auto;max-height:none}
.embedded model-viewer{min-height:0}
.embedded footer{flex-shrink:0;font-size:9px;padding:8px 0}
.embedded .view-label{left:12px;top:12px}
.embedded .usmin-legend{left:12px;top:36px}
.embedded .bottom-bar{left:12px;right:12px;bottom:12px;flex-direction:column;gap:7px}
.embedded .gesture{font-size:10px;padding:6px 10px}
.embedded .actions{width:100%;justify-content:center;font-size:11px}
.embedded .actions button{flex:1;padding:8px 5px}
.embedded #load-error{left:7%;right:7%;bottom:105px;padding:9px 12px;font-size:11px}



/* Collision-aware nugget point. The anchor is at the original KMZ coordinate.
   Only the yellow badge can move; an arrow leads back to the fixed point. */
.nugget-anchor{width:0;height:0;min-width:0;min-height:0;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.nugget-badge,.nugget-swatch{display:grid;place-items:center;
  width:26px;height:26px;border-radius:50%;
  background:#ffd447;color:#2d2300;border:2px solid #8d6500;
  font-size:15px;font-weight:850;line-height:1;box-shadow:0 1px 4px #2f250044}
.nugget-badge{position:absolute;left:0;top:0;transform:translate(-50%,-50%);z-index:2}
.nugget-leader{position:absolute;overflow:visible;pointer-events:none;z-index:1;
  filter:drop-shadow(0 1px 1px #fff9)}
.map-legend{position:absolute;left:20px;top:45px;display:flex;gap:8px;align-items:center;
  max-width:calc(100% - 100px);flex-wrap:wrap;pointer-events:none}
.map-legend .usmin-legend{position:static}
.nugget-legend{display:flex;align-items:center;gap:6px;padding:5px 9px;
  font-size:11px;color:#27354b;background:#ffffffeb;border:1px solid #dce2ea;border-radius:6px}
.nugget-swatch{width:20px;height:20px;font-size:12px;box-shadow:none}
@media(max-width:700px){
  .map-legend{left:12px;top:40px;gap:5px;max-width:calc(100% - 80px)}
  .nugget-legend{padding:5px 7px;font-size:10px}
}
.embedded .map-legend{left:12px;top:36px}
