/* Atlas → "See it in 3D" (assets/atlas3d/origin-3d.js). */
.o3d { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #f1ebe3; color: #2b1a14; font-family: var(--font-body, 'Jost', system-ui, sans-serif); overflow: hidden; }
.o3d::backdrop { background: rgba(26, 18, 11, .6); }
.o3d[open] { animation: o3d-in .3s ease; }
@keyframes o3d-in { from { opacity: 0; } }
html.o3d-lock { overflow: hidden; }
.o3d-map { position: absolute; inset: 0; }
.o3d-card { position: absolute; left: 20px; top: 20px; z-index: 2; width: min(320px, calc(100% - 40px)); padding: 20px 22px; border-radius: 18px;
  background: rgba(43, 26, 20, .9); color: #f5f2ee; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.o3d-kicker { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.o3d-card h2 { margin: 6px 0 0; font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif); font-weight: 500; font-size: 32px; line-height: 1.02; color: #f5f2ee; }
.o3d-card h2 em { color: #c9d6df; }
.o3d-desc { margin: 10px 0 0; font-size: 13px; line-height: 1.5; opacity: .85; }
.o3d-desc:empty { display: none; }
.o3d-stats { display: flex; gap: 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(245, 242, 238, .2); }
.o3d-stats b, .o3d-probe b { display: block; font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif); font-size: 22px; font-weight: 500; }
.o3d-stats span, .o3d-probe { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.o3d-probe { margin-top: 12px; }
.o3d-probe b { margin-top: 2px; font-size: 20px; letter-spacing: 0; text-transform: none; opacity: 1; }
.o3d-legend { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 11px; opacity: .8; }
.o3d-legend[hidden] { display: none; }
.o3d-legend i { width: 22px; height: 0; border-top: 2.5px solid #8fa9bc; }
.o3d-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #f5f2ee; color: #2b1a14; font-size: 24px; line-height: 1; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); }
.o3d-close:hover { background: #2b1a14; color: #f5f2ee; }
.o3d-close:focus-visible { outline: 2px solid #2b1a14; outline-offset: 3px; }
.o3d-status { position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 999px;
  background: #2b1a14; color: #f5f2ee; font-size: 13px; }
.o3d-status:empty { display: none; }
.o3d-pin { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.o3d-pin b { padding: 6px 12px; border-radius: 999px; background: #2b1a14; color: #f5f2ee; font: 500 12px var(--font-body, 'Jost', sans-serif); white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.o3d-pin i { width: 2px; height: 42px; background: linear-gradient(#2b1a14, rgba(43, 26, 20, 0)); }
.o3d-pin u { width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; border: 2px solid #fff; background: #8fa9bc; text-decoration: none; }
@media (max-width: 640px) {
  .o3d-card { top: auto; bottom: 12px; left: 12px; width: calc(100% - 24px); padding: 14px 16px; }
  .o3d-card h2 { font-size: 26px; }
  .o3d-desc { display: none; }
  .o3d-close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .o3d[open] { animation: none; } }
.o3d .maplibregl-ctrl-top-right { top: 72px; }
