/* 世界原型 W1 页面样式（独立于 Agent Home）。 */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; display: flex; flex-direction: column;
  background: #10131c; color: #e7e9ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", sans-serif; font-size: 14px;
}
.w3-head {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 16px;
  border-bottom: 1px solid #232938; background: #141824;
  position: relative; z-index: 2;
}
.w3-title { font-weight: 600; font-size: 16px; }
.w3-badge {
  font-size: 11px; background: #3d6b5e; color: #fff; border-radius: 999px;
  padding: 2px 8px; vertical-align: 2px;
}
.w3-hint { flex: 1; color: #8b93a7; font-size: 12px; }
.w3-head-actions a { color: #8fd0b8; text-decoration: none; margin-left: 12px; }
.w3-stage { flex: 1; position: relative; min-height: 0; }
.w3-stage canvas { display: block; }
.w3-hud {
  /* B-08：HUD 是 stage 的浮层，不是 viewport 的浮层。旧 top:12px 以初始
     包含块定位，1280×649 时会盖住右上角「回家 / 数据面」。固定在页头下方，
     并在页头之下绘制，窄高度也不遮导航。 */
  position: absolute; top: 56px; right: 12px; width: 250px;
  max-height: calc(100% - 68px);
  overflow: auto; background: rgba(20, 24, 36, .88); border: 1px solid #232938;
  border-radius: 12px; padding: 12px; z-index: 1;
}
.w3-hud-title { font-weight: 600; margin-bottom: 8px; }
.w3-row {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 5px 0; border-bottom: 1px dashed #232938; font-size: 13px;
}
.w3-mine { color: #8fd0b8; }
.w3-dim { color: #8b93a7; text-align: right; }
.w3-note { margin-top: 8px; color: #d0a35a; font-size: 12px; }
.w3-muted { color: #8b93a7; }
