/* The glass ribbon. Two layers, both drawn by ribbon.js, both behind every word and control.
   The page layer lies on the white page under everything. The panel layer lies inside the work panel, above its tint and under its frames.
   From the page it uses two tokens: --bleed (how far the panel runs past the content) and --r-3 (the panel's corner). */
.glass-ribbon { position: absolute; left: 0; top: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glass-ribbon svg { display: block; width: 100%; height: 100%; }
.glass-ribbon--panel { inset: 0 calc(var(--bleed, 24px) * -1); border-radius: var(--r-3, 24px); }
@media (prefers-reduced-motion: no-preference) {
  .glass-ribbon { animation: glass-ribbon-in 0.5s 0.65s ease both; /* after the frames have risen into place */ }
  @keyframes glass-ribbon-in { from { opacity: 0; } to { opacity: 1; } }
}
@media print { .glass-ribbon { display: none; } }
