/*
 * The Home tab's styles (rooms.js draws the house on its canvas; this is the layer and the light's pill).
 * Same rules as home.css: no CSS variables, grid or backdrop-filter; only transform and opacity animate.
 */
/* MARK: - Home: the house on one canvas (rooms.js); the focused light's name and state in a pill above its dot */

#house canvas { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
/* A smoke capsule like the status pill's, not glass over the model; rooms.js places it and keeps it in the safe area. */
#house .pill {
  position: absolute;
  left: 0;
  top: 0;
  height: 52px;
  padding: 0 24px;
  border-radius: 26px;
  white-space: pre;
  font-size: 26px;
  line-height: 52px;
  color: #FFF;
  background: rgba(28, 28, 30, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 26px rgba(0, 0, 0, 0.32);
  opacity: 0;
  -webkit-transition: opacity 0.12s cubic-bezier(0.22, 1, 0.36, 1);
  transition: opacity 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Moving to another light, the old text leaves quickly and the new one comes in just after (rooms.js keeps two). */
#house .pill.on { opacity: 1; -webkit-transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1) 0.06s; transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1) 0.06s; }
#house .pill .n { font-weight: 600; }
#house .pill .s { font-weight: 400; color: rgba(255, 255, 255, 0.7); }
#house .pill.lit .s { color: #FFC07A; }
