/* rK Lab intro: the overlay the page is drawn on. Shown only when the head script sets html.intro-on (once per device per 24 h, motion allowed).
   Failsafe: it hides itself 9 s after load even if intro.js never runs; intro.js removes it earlier when the sequence ends (7.95 s desktop, 5.72 s phones). */
#intro{display:none}
html.intro-on #intro{display:block;position:fixed;inset:0;z-index:80;background:#07070A;cursor:pointer;animation:intro-expire .4s 8.6s forwards}
@keyframes intro-expire{to{opacity:0;visibility:hidden;pointer-events:none}}
#intro canvas{position:absolute;inset:0;width:100%;height:100%}
#intro img{display:none}   /* only the loader for the wordmark: intro.js draws it on the canvas (an <img> would be recorded as the page's Largest Contentful Paint) */
#intro i{position:absolute;left:-10%;right:-10%;height:2px;opacity:0;transform:scaleX(0);
  background:linear-gradient(90deg,transparent,rgba(255,244,214,.95) 35%,#fff 50%,rgba(255,244,214,.95) 65%,transparent);box-shadow:0 0 18px 4px rgba(253,200,0,.5)}
/* staging only: the speed / pause / replay bar that intro.js adds when window.RK_DEV is true */
.introbar{position:fixed;right:12px;bottom:12px;z-index:90;display:flex;gap:6px;align-items:center;padding:6px 8px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(10,10,14,.92);font:400 11px "Space Mono",ui-monospace,Consolas,monospace;color:#8d8a80}
.introbar button{font:inherit;padding:4px 8px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:#1a1a20;color:#f3efe2;cursor:pointer}
.introbar button[aria-pressed="true"]{background:#FDC800;color:#000;border-color:#FDC800}
.introbar b{font-weight:400;color:#FDC800;min-width:190px;text-align:right}
@media(max-width:900px){.introbar{right:8px;bottom:auto;top:8px;flex-wrap:wrap;max-width:calc(100vw - 16px)}.introbar b{min-width:0;flex:1 0 100%}}
