/* Vapus 3D Body Explorer. Loaded only by /ventures/vapus/body/. */
.container.wide { max-width: 1320px; }
.bx { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.bx-stage { position: relative; height: min(76vh, 760px); min-height: 460px; border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-border);
  background: radial-gradient(120% 100% at 50% 30%, #16233d 0%, #0a1222 60%, #060b16 100%); touch-action: none; }
.bx-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; cursor: grab; }
.bx-stage canvas:active { cursor: grabbing; }
.bx-labels, .bx-hud, .bx-tip, .bx-loading, .bx-attrib, .bx-fail { position: absolute; pointer-events: none; }
.bx-labels { inset: 0; overflow: hidden; }
.bx-label { position: absolute; transform: translate(-50%, -100%); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap;
  color: #eaf7f0; background: rgba(6, 16, 30, .72); border: 1px solid rgba(94, 234, 175, .35); backdrop-filter: blur(4px); }
.bx-tip { display: none; z-index: 5; padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(6, 16, 30, .88); border: 1px solid rgba(255, 209, 102, .6); transform: translate(12px, 14px); white-space: nowrap; }
.bx-hud { left: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #cfe3da; }
.bx-hud .chip { padding: 4px 10px; border-radius: 999px; background: rgba(6, 16, 30, .7); border: 1px solid rgba(255, 255, 255, .12); width: max-content; font-variant-numeric: tabular-nums; }
.bx-hud .chip strong { color: #5eeaaf; }
.bx-loading { left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 18px; border-radius: 14px; font-weight: 600; color: #eaf7f0; background: rgba(6, 16, 30, .82); border: 1px solid rgba(94, 234, 175, .3); text-align: center; }
.bx-loading[hidden] { display: none; }
.bx-fail { inset: 0; display: none; place-items: center; text-align: center; padding: 24px; color: #eaf7f0; pointer-events: auto; }
.bx-fail.show { display: grid; }
.bx-fail p { max-width: 420px; color: #b9cdc4; }
.bx-attrib { left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 10.5px; line-height: 1.35; color: #9fb5ab; background: linear-gradient(180deg, transparent, rgba(4, 9, 18, .85)); pointer-events: auto; }
.bx-attrib a { color: #7ff0c3; }
.bx-hint { position: absolute; right: 12px; top: 12px; font-size: 11px; color: #9fb5ab; text-align: right; pointer-events: none; }

.bx-panel { display: flex; flex-direction: column; gap: 12px; }
.bx-card { background: var(--card, var(--glass-bg, rgba(255, 255, 255, .78))); border: 1px solid var(--glass-border); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow, 0 6px 24px rgba(0, 0, 0, .12)); }
.bx-card h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.bx-search { position: relative; }
.bx-search input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--bg-main); color: var(--text-main); font-size: .92rem; }
.bx-results { list-style: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; max-height: 260px; overflow: auto; margin: 0; padding: 4px;
  background: var(--card, var(--glass-bg, rgba(255, 255, 255, .78))); border: 1px solid var(--glass-border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.bx-results:empty { display: none; }
.bx-results button { width: 100%; text-align: left; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--text-main); font-size: .86rem; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.bx-results button:hover, .bx-results button:focus-visible { background: var(--primary-soft, rgba(5, 150, 105, .12)); }
.bx-results small { color: var(--text-muted); }
.bx-layer { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .9rem; cursor: pointer; }
.bx-layer input { accent-color: var(--primary); width: 16px; height: 16px; }
.bx-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.bx-layer em { margin-left: auto; font-style: normal; font-size: .72rem; color: var(--text-muted); }
.bx-slider { width: 100%; accent-color: var(--primary); }
.bx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--text-muted); margin-top: 8px; }
.bx-sel h4 { font-size: 1.05rem; margin-bottom: 2px; color: var(--text-main); }
.bx-sel p { font-size: .85rem; margin: 2px 0; }
.bx-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bx-btns .btn { padding: 7px 14px; font-size: .82rem; }
.bx-empty { font-size: .86rem; color: var(--text-muted); }
.bx-help { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.bx-help kbd { background: var(--bg-main); border: 1px solid var(--glass-border); border-radius: 5px; padding: 0 5px; font-size: .78rem; }
.bx-note { font-size: .78rem; color: var(--text-muted); }

@media (max-width: 980px) {
  .bx { grid-template-columns: 1fr; }
  .bx-stage { height: 62vh; min-height: 380px; }
  .bx-hint { display: none; }
}

.bx-attrib .short { display: none; }
@media (max-width: 640px) { .bx-attrib .long { display: none; } .bx-attrib .short { display: inline; } .bx-attrib { font-size: 10px; padding: 6px 10px; } }

/* buttons set their own display, which would otherwise override the hidden attribute */
.bx [hidden] { display: none !important; }

/* Landing page section (ventures/aura/index.html): same viewer, embedded */
.body-home { max-width: 1240px; margin: 72px auto; padding: 0 20px; }
.body-home-head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.body-home-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin: 8px 0 12px; }
.body-home-head p { color: var(--text-muted); margin: 0 auto 14px; }
.body-home .bx-stage { height: min(68vh, 640px); min-height: 420px; }
.body-home-note { text-align: center; font-size: .82rem; color: var(--text-muted); margin-top: 14px; }
.bx-idle canvas { pointer-events: none; }
.bx-activate { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 0; cursor: pointer; color: #eaf7f0; background: rgba(4, 9, 18, .28); font: inherit; font-weight: 700; font-size: 1.1rem; }
.bx-activate small { font-weight: 500; opacity: .8; font-size: .8rem; }
.bx-activate:hover, .bx-activate:focus-visible { background: rgba(4, 9, 18, .1); }
.bx-done { position: absolute; right: 12px; bottom: 46px; z-index: 8; padding: 6px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600;
  color: #eaf7f0; background: rgba(6, 16, 30, .82); border: 1px solid rgba(94, 234, 175, .4); }
@media (max-width: 980px) { .body-home { margin: 48px auto; } .body-home .bx-stage { height: 62vh; min-height: 380px; } }
