/* OPALHOOD: the living background layer (opal-sky.js) behind every page except home. */
.has-sky body { background: transparent; }
.o-sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; background: var(--o-bg); }
.o-sky__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--o-ease); }
.o-sky.is-on .o-sky__gl { opacity: 1; }
.o-sky__css { position: absolute; inset: -20%; opacity: 0; transition: opacity 1.2s;
  background: radial-gradient(40% 30% at 70% 20%, rgba(165, 139, 255, .16), transparent 70%), radial-gradient(35% 28% at 20% 70%, rgba(110, 240, 224, .12), transparent 70%),
    radial-gradient(30% 25% at 85% 75%, rgba(247, 166, 232, .10), transparent 70%); animation: o-sky-drift 26s ease-in-out infinite alternate; }
.o-sky.no-gl .o-sky__css { opacity: 1; }
@keyframes o-sky-drift { to { transform: translate3d(4%, -3%, 0) rotate(4deg); } }
.o-sky__grid { position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(90% 70% at 50% 0%, #000 0%, transparent 75%); }
/* keeps body text readable: darker in the middle column, the light lives at the edges */
.o-sky__vig { position: absolute; inset: 0; background: radial-gradient(60% 55% at 42% 55%, rgba(10, 10, 10, .5), rgba(10, 10, 10, 0) 75%), linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, .45)); }
@media (prefers-reduced-motion: reduce) { .o-sky__css { animation: none; } }

/* app + verify: the old flat backdrop goes, the shell and panels turn to smoked glass so the light shows through */
html.has-sky .bx-bg { display: none; }
html.has-sky .gx-side, html.has-sky .gx-top { background-color: rgba(10, 10, 10, .64); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); }
html.has-sky .sy-panel, html.has-sky .sa-chat, html.has-sky .sa-panel, html.has-sky .xr-panel, html.has-sky .bx-card, html.has-sky .bx-box {
  background-color: rgba(17, 17, 17, .72); -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%); }
@media (max-width: 700px) { .o-sky.is-on .o-sky__gl { opacity: .72; } }
