/* Aura homepage — pixel office + agent tiles. Preview only. */
#live-floor .hq-shell {
  position: relative;
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
}
.pixel-office-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 2.05 / 1;
  min-height: 380px;
  max-height: 620px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    #0c0c10;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 10px rgba(10, 10, 11, 0.88),
    0 28px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px) saturate(140%);
}
.px-hud {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.78);
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.px-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}
.px-hud-meta { margin-left: auto; letter-spacing: 0.1em; color: #5eead4; }
.pixel-office-frame canvas {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  background: #121218;
}
.px-agent-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0 0;
}
.px-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 12px 28px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px) saturate(150%);
}
.px-chip canvas {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 8px;
  background: #0c0c10;
  border: 1px solid rgba(255,255,255,0.12);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.px-chip .px-meta { min-width: 0; }
.px-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.px-chip strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.px-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(31, 216, 176, 0.16);
  color: #5eead4;
  border: 1px solid rgba(31, 216, 176, 0.28);
  white-space: nowrap;
}
.px-badge.idle {
  background: rgba(255,255,255,0.06);
  color: #a3a3a8;
  border-color: rgba(255,255,255,0.1);
}
.px-badge.walk {
  background: rgba(99,102,241,0.16);
  color: #c7d2fe;
  border-color: rgba(99,102,241,0.3);
}
.px-task {
  margin-top: 4px;
  font-size: 11px;
  color: #a1a1aa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .px-agent-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pixel-office-frame {
    min-height: 280px;
    max-height: 420px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }
  #pixelOffice { max-width: 100%; }
  .px-agent-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-chip { padding: 8px 10px; gap: 8px; }
  .px-chip canvas { width: 44px; height: 44px; flex-basis: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .px-live-dot { box-shadow: none; }
}
