/* The onboarding frame (every step): a thin progress bar with "N/M" at top right, the mascot centered, a Sora headline, one muted
   line, one full width ink button at the bottom. Also the hold to commit button on the Come back tomorrow card. Classes start rk-onb-. */
.onb .otop.rk-onb-top{grid-template-columns:44px 1fr auto;gap:12px}
.rk-onb-bar{position:relative;height:4px;border-radius:2px;background:rgba(21,23,28,.1);overflow:hidden}
.rk-onb-bar i{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--p,0));background:var(--ink);border-radius:2px;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.rk-onb-n{font:600 13px/1 "Sora",system-ui,sans-serif;color:var(--mute);min-width:30px;text-align:right;font-variant-numeric:tabular-nums}
.rk-onb-masc{display:flex;justify-content:center;margin:14px auto 0;min-height:120px;pointer-events:none}
.rk-onb-archhero{position:relative;padding-right:92px;min-height:88px}
.rk-onb-archm{position:absolute;right:0;top:0;pointer-events:none}
.onb .oacts .btn.quiet{background:none;box-shadow:none;color:var(--mute);font-weight:600;padding:10px 0}
.rk-onb-body{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;justify-content:center;padding:8px 0}
.rk-onb-body .oh{margin-top:14px;font-size:28px}
.rk-onb-body .osub{margin-top:8px}
.onb .rk-onb-cta{width:100%;border-radius:999px;padding:17px;font-size:16px}
.rk-onb-step .oey{text-align:center}
/* the first drill: room above the board for the peek, so it never covers the line above */
.rk-onb-drill .rk-arch-drbd{margin-top:46px}

/* hold to commit */
.rk-onb-hold{position:relative;width:96px;height:96px;margin:22px auto 0;border-radius:50%;background:#fff;box-shadow:0 14px 30px -18px rgba(21,23,28,.5);display:grid;place-items:center;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.rk-onb-hold .rk-onb-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.rk-onb-hold circle{fill:none;stroke-width:6;stroke-linecap:round}
.rk-onb-ht{stroke:#E3E7EC}
.rk-onb-hr{stroke:#EE7C5B;stroke-dasharray:1 1;stroke-dashoffset:1}
.rk-onb-hold .rk-onb-hi{position:relative;width:34px;height:34px;color:var(--ink)}
.rk-onb-hold.done{background:var(--ink)}.rk-onb-hold.done .rk-onb-hi{color:#fff}
.rk-onb-hold:focus-visible{outline:3px solid rgba(238,124,91,.45);outline-offset:4px}
.rk-onb-hl{font-size:13px;color:var(--mute);margin-top:10px}
.rk-onb-opts{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 18px;margin-top:6px}
.rk-onb-opts .linkbtn{font-size:14px;color:var(--mute);font-weight:600;padding:8px 2px}
.rk-onb-opts .linkbtn[hidden]{display:none}
.rk-onb-burst{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none}
.rk-onb-spark{position:absolute;left:-7px;top:-7px;width:14px;height:14px;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%)}
@media (prefers-reduced-motion:reduce){.rk-onb-bar i{transition:none}}
/* the first read: the gauge with the lying mascot, then "6 of 10 games read" under it */
.rk-onb-gauge{display:flex;justify-content:center;margin:18px auto 6px;min-height:112px}
.rk-onb-gn{text-align:center}
