/* Incubation: a dark sky above the tree, with a soft blue horizon near its crown. */
#panel-o-office .secondary-body {
  --office-scene-shift:clamp(12px,2.2vh,24px);
  background:
    linear-gradient(90deg,#061827 0%,rgba(6,24,39,.95) 34%,rgba(3,15,23,.55) 54%,transparent 70%),
    radial-gradient(ellipse 31% 28% at 77% 53%,rgba(16,84,105,.16),transparent 75%),
    radial-gradient(ellipse 35% 16% at 87% 37%,rgba(29,54,80,.09),transparent 72%),
    linear-gradient(180deg,#000 0%,#000 25%,#01070b 47%,#031724 83%,#061827 100%);
}
#panel-o-office .secondary-body::before {
  opacity:.48;
  background-position:50% calc(63% + var(--office-scene-shift));
  -webkit-mask-image:
    linear-gradient(90deg,transparent,#000 20%,#000 94%,transparent),
    linear-gradient(180deg,transparent 0%,transparent 19%,rgba(0,0,0,.24) 34%,#000 54%,#000 91%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:
    linear-gradient(90deg,transparent,#000 20%,#000 94%,transparent),
    linear-gradient(180deg,transparent 0%,transparent 19%,rgba(0,0,0,.24) 34%,#000 54%,#000 91%,transparent);
  mask-composite:intersect;
}
#panel-o-office .secondary-body::after {
  opacity:.48;
  background-position:50% calc(63% + var(--office-scene-shift)),center,center,center,center,center,center;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,transparent 24%,#000 53%,#000 87%,transparent);
  mask-image:linear-gradient(180deg,transparent 0%,transparent 24%,#000 53%,#000 87%,transparent);
}
#panel-o-office .particle-countline { border-bottom:0; }
#panel-o-office .office-space-stars {
  position:absolute;
  z-index:-3;
  inset:0 0 0 43%;
  display:block;
  width:57%;
  height:100%;
  pointer-events:none;
}
/* Grow the stage's allocation before shifting the sphere, so it is never clipped. */
@media(min-width:701px) {
  #panel-o-office .group-particle-panel {
    --office-orb-offset:clamp(38px,8vh,92px);
    --office-orb-room:clamp(24px,3.5vh,40px);
    margin-top:var(--office-scene-shift);
    height:min(calc(100% - var(--office-scene-shift)),calc(440px + var(--office-orb-offset) + var(--office-orb-room)));
  }
  #panel-o-office .group-particle-stage {
    min-height:0;
    margin-top:var(--office-orb-offset);
    padding-bottom:var(--office-orb-room);
  }
}
@media(max-width:700px) {
  #panel-o-office .office-space-stars { left:15%; width:85%; }
  #panel-o-office .group-particle-panel { --office-orb-room:clamp(18px,3.2vh,28px); margin-top:var(--office-scene-shift); }
  #panel-o-office .group-particle-stage { margin-top:20px; height:calc(245px + var(--office-orb-room)); padding-bottom:var(--office-orb-room); }
  #panel-o-office .secondary-body::before { opacity:.28; }
}
