:where(.og-noillirk) :where(*:not(svg, svg *)) { all: revert; }
/* First-run tutorial (js/tutorial.js). Every class starts with nk-tut-; the layer sits inside the game container
   (#stage), above the HUD and the menu button (z-index 3 and 6), below modals (30). */
.og-noillirk .nk-tut-layer { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.og-noillirk .nk-tut-dim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.og-noillirk .nk-tut-dim path { fill: rgba(14, 8, 36, 0.68); pointer-events: visiblePainted; }
.og-noillirk .nk-tut-ring { position: absolute; border: 2px solid var(--amber, #ffc65c); border-radius: 14px; box-shadow: 0 0 0 3px rgba(255, 198, 92, 0.22), 0 0 22px rgba(255, 198, 92, 0.45); animation: nk-tut-pulse 1.8s ease-in-out infinite; }
@keyframes nk-tut-pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 198, 92, 0.12), 0 0 30px rgba(255, 198, 92, 0.6); } }

.og-noillirk .nk-tut-tip { position: absolute; left: 12px; top: 12px; pointer-events: auto; box-sizing: border-box; padding: 13px 15px; border-radius: 18px; background: linear-gradient(180deg, #2a1d63, #1a1142); border: 1px solid rgba(200, 170, 255, 0.4); color: var(--ink, #f4eefe); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); font: 15px/1.45 var(--round, system-ui, sans-serif); outline: none; transition: top 0.2s ease, left 0.2s ease; }
.og-noillirk .nk-tut-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.og-noillirk .nk-tut-count { font: 800 11px var(--num, monospace); letter-spacing: 0.22em; color: var(--amber, #ffc65c); }
.og-noillirk .nk-tut-skip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--edge, rgba(200, 170, 255, 0.24)); background: rgba(255, 255, 255, 0.05); color: var(--ink, #f4eefe); font: 800 12px var(--round, sans-serif); letter-spacing: 0.12em; cursor: pointer; }
.og-noillirk .nk-tut-title { margin: 7px 0 4px; font: 900 16px/1.25 var(--round, sans-serif); letter-spacing: 0.05em; color: #fff; }
.og-noillirk .nk-tut-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: #ddd3f5; }
.og-noillirk .nk-tut-nav { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.og-noillirk .nk-tut-dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.og-noillirk .nk-tut-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(200, 170, 255, 0.3); }
.og-noillirk .nk-tut-dots i.on { background: var(--amber, #ffc65c); box-shadow: 0 0 8px rgba(255, 198, 92, 0.7); }
.og-noillirk .nk-tut-back,
.og-noillirk .nk-tut-next { min-height: 44px; padding: 0 16px; border-radius: 999px; font: 900 13px var(--round, sans-serif); letter-spacing: 0.1em; cursor: pointer; }
.og-noillirk .nk-tut-back { border: 1px solid var(--edge, rgba(200, 170, 255, 0.24)); background: transparent; color: var(--ink, #f4eefe); }
.og-noillirk .nk-tut-next { border: 0; background: linear-gradient(180deg, #ffd98a, #ffb84d); color: #2a1600; box-shadow: 0 3px 0 #b8741c; }
.og-noillirk .nk-tut-next:disabled { opacity: 0.4; box-shadow: none; cursor: default; }
.og-noillirk .nk-tut-skip:focus-visible,
.og-noillirk .nk-tut-back:focus-visible,
.og-noillirk .nk-tut-next:focus-visible { outline: 2px solid var(--mint, #4fe0c8); outline-offset: 2px; }
.og-noillirk .nk-tut-compact .nk-tut-text,
.og-noillirk .nk-tut-compact .nk-tut-dots { display: none; }
.og-noillirk .nk-tut-compact .nk-tut-nav { margin-top: 6px; justify-content: space-between; }
.og-noillirk .nk-tut-nudge { animation: nk-tut-nudge 0.35s ease-in-out; }
@keyframes nk-tut-nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Practice verdict: a short ladder of other answers to the practice prompt. */
.og-noillirk .nk-tut-ladder { margin: 14px auto 0; max-width: 420px; display: grid; gap: 5px; text-align: left; }
.og-noillirk .nk-tut-ladder small { font: 800 10px var(--round, sans-serif); letter-spacing: 0.22em; color: var(--muted, #b3a6d6); text-align: center; }
.og-noillirk .nk-tut-rung { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; gap: 8px; align-items: center; font: 700 14px var(--round, sans-serif); padding: 3px 8px; border-radius: 10px; }
.og-noillirk .nk-tut-rung span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-noillirk .nk-tut-rung b { text-align: right; font-family: var(--num, monospace); color: var(--amber, #ffc65c); }
.og-noillirk .nk-tut-rung.on { background: rgba(255, 198, 92, 0.12); outline: 1px solid rgba(255, 198, 92, 0.4); }

/* No HOW TO PLAY from the menu in the middle of a climb: it would replace the prompt on screen. */
body.playing .og-noillirk .menu [data-go="howto"] { display: none; }

@media (max-width: 400px) {
  .og-noillirk .nk-tut-tip { padding: 11px 12px; }
  .og-noillirk .nk-tut-text { font-size: 14px; }
  .og-noillirk .nk-tut-back,
.og-noillirk .nk-tut-next { padding: 0 12px; font-size: 12px; }
  .og-noillirk .nk-tut-ladder { gap: 2px; margin-top: 10px; }
  .og-noillirk .nk-tut-rung { padding: 1px 8px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  :root:not(.full-motion) .og-noillirk .nk-tut-ring,
:root:not(.full-motion) .og-noillirk .nk-tut-nudge { animation: none; }
  :root:not(.full-motion) .og-noillirk .nk-tut-tip { transition: none; }
}
html.reduce-motion .og-noillirk .nk-tut-ring,
html.reduce-motion .og-noillirk .nk-tut-nudge { animation: none; }
html.reduce-motion .og-noillirk .nk-tut-tip { transition: none; }
