:where(.og-wonderhop) :where(*:not(svg, svg *)) { all: revert; }
/* Tutorial (js/tutorial.js). Everything stays inside the game box #game; nothing on html or body. */
.og-wonderhop .wonderhop-tut-host { position: relative; }
.og-wonderhop .wonderhop-tut { position: absolute; inset: -6px; z-index: 20; pointer-events: none; border-radius: 18px; overflow: hidden; }
.og-wonderhop .wonderhop-tut-svg { position: absolute; inset: 0; pointer-events: none; }
.og-wonderhop .wonderhop-tut-shade { fill: rgba(4, 30, 37, 0.7); pointer-events: visiblePainted; }
.og-wonderhop .wonderhop-tut-ring { fill: none; stroke: var(--sun, #ffd84d); stroke-width: 3; pointer-events: none; }
.og-wonderhop .wonderhop-tut-card {
  position: absolute; left: 0; right: 0; margin: 0 auto; width: calc(100% - 16px); max-width: 460px; pointer-events: auto;
  background: var(--cream, #fff8e6); color: var(--ink, #12333b); border: 3px solid var(--sun, #ffd84d); border-radius: 18px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3); padding: 10px 14px 10px; text-align: left;
}
.og-wonderhop .wonderhop-tut-card:focus { outline: none; }
.og-wonderhop .wonderhop-tut-card:focus-visible { outline: 3px solid var(--sun, #ffd84d); outline-offset: 2px; }
.og-wonderhop .wonderhop-tut-count { margin: 0; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft, #3c5d64); }
.og-wonderhop .wonderhop-tut-text { margin: 2px 0 8px; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.og-wonderhop .wonderhop-tut-row { display: flex; align-items: center; gap: 6px; }
.og-wonderhop .wonderhop-tut-gap { flex: 1; }
.og-wonderhop .wonderhop-tut-btn {
  font: inherit; font-weight: 900; font-size: 0.95rem; min-height: 40px; padding: 6px 14px; border-radius: 12px; cursor: pointer;
  border: 0; background: var(--cream-2, #f4ead0); color: var(--ink, #12333b); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}
.og-wonderhop .wonderhop-tut-btn[hidden] { display: none; }
.og-wonderhop .wonderhop-tut-btn:active { transform: translateY(2px); box-shadow: none; }
.og-wonderhop .wonderhop-tut-skip { background: transparent; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; padding-left: 4px; padding-right: 4px; }
.og-wonderhop .wonderhop-tut-next { background: var(--sun, #ffd84d); }
@media (prefers-reduced-motion: no-preference) {
  .og-wonderhop .wonderhop-tut-card { transition: top 0.18s ease-out; }
}

/* "How to play" button in the bar above the ponds */
.og-wonderhop .wonderhop-tut-open { display: inline-flex; align-items: center; gap: 6px; }
.og-wonderhop .wonderhop-tut-open::before {
  content: "?"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sun, #ffd84d); color: var(--ink, #12333b); font-weight: 900; text-decoration: none;
}
