/* BIOS CO₂ Pulse — plugin stylesheet. Scoped to .bios-co2-pulse (added by JS).
   AVG · Avant Garde Web · avantgardeweb.ie · v1.0.0 · 10 Jul 2026 */

.bios-co2-pulse .bios-home-orb{
  background:radial-gradient(circle at 36% 28%,#b8ffee,#55e4c8 40%,#0b7f90 74%,#053a4d);
  box-shadow:0 0 52px rgba(91,255,217,.42), inset -14px -18px 34px rgba(3,26,38,.55);
  animation:biosCo2Breathe 6s ease-in-out infinite;
}
.bios-co2-pulse .bios-home-orb-atmo{
  position:absolute;inset:0;border-radius:50%;overflow:hidden;
  animation:biosCo2Breathe 6s ease-in-out infinite;
}
.bios-co2-pulse .bios-home-orb-atmo::before{
  content:"";position:absolute;inset:-30%;
  background:conic-gradient(from 0deg,
    transparent 0deg, rgba(190,255,238,.16) 40deg, transparent 95deg,
    rgba(120,235,255,.10) 160deg, transparent 220deg,
    rgba(190,255,238,.13) 300deg, transparent 360deg);
  animation:biosCo2Atmo 22s linear infinite;
}
.bios-co2-pulse .bios-home-orb-ring{
  border:1px solid rgba(115,255,222,.55);opacity:0;
  animation:biosCo2Echo 6s ease-out infinite;
}
.bios-co2-pulse .bios-home-orb-ring.r2{animation-delay:3s;border-color:rgba(115,255,222,.35)}
.bios-co2-pulse .bios-home-orbit{
  position:absolute;inset:-16px;border-radius:50%;
  border:1px dashed rgba(115,255,222,.14);
  transform:rotateX(62deg);transform-style:preserve-3d;
  animation:biosCo2Orbit 9s linear infinite;
}
.bios-co2-pulse .bios-home-orbit i{
  position:absolute;top:-4px;left:calc(50% - 4px);width:8px;height:8px;border-radius:50%;
  background:#5ce7c6;box-shadow:0 0 14px #5ce7c6,0 0 4px #fff inset;
}
@keyframes biosCo2Breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}
@keyframes biosCo2Atmo{to{transform:rotate(360deg)}}
@keyframes biosCo2Echo{0%{transform:scale(.92);opacity:.6}70%{transform:scale(1.42);opacity:0}100%{transform:scale(1.42);opacity:0}}
@keyframes biosCo2Orbit{to{transform:rotateX(62deg) rotate(360deg)}}

.bios-co2-pulse .bios-home-live-card strong,
.bios-co2-pulse strong{font-variant-numeric:tabular-nums}

.bios-live-label{display:inline-flex;align-items:center;gap:8px}
.bios-live-dot{width:8px;height:8px;border-radius:50%;background:#5ce7c6;
  box-shadow:0 0 10px #5ce7c6;animation:biosCo2Dot 2.2s ease-in-out infinite}
@keyframes biosCo2Dot{0%,100%{opacity:1}50%{opacity:.35}}

.bios-co2-trend{display:inline-flex;align-items:center;gap:6px;margin-top:12px;
  font-size:13px;font-weight:800;padding:5px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05)}
.bios-co2-trend.up{color:#f7c85c}
.bios-co2-trend.down{color:#62f7d2}

.bios-co2-spark{margin-top:14px;width:150px;height:32px;overflow:visible}
.bios-co2-spark path{fill:none;stroke:#5ce7c6;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bios-co2-spark .fill{fill:url(#biosSparkFill);stroke:none}
.bios-co2-spark circle{fill:#5ce7c6}

@media (prefers-reduced-motion: reduce){
  .bios-co2-pulse .bios-home-orb,
  .bios-co2-pulse .bios-home-orb-atmo,
  .bios-co2-pulse .bios-home-orb-atmo::before,
  .bios-co2-pulse .bios-home-orb-ring,
  .bios-co2-pulse .bios-home-orbit,
  .bios-live-dot{animation:none}
  .bios-co2-pulse .bios-home-orb-ring{opacity:.35;transform:scale(1.1)}
}
