:where(.og-globle) :where(*:not(svg, svg *)) { all: revert; }
/* Tutorial (js/tutorial.js). Everything stays inside the game container; the container needs position: relative. */
.og-globle .globle-tut { position: absolute; inset: 0; z-index: 25; overflow: hidden; pointer-events: none; }
.og-globle .globle-tut-hole {
  position: absolute; border-radius: 16px;
  box-shadow: 0 0 0 3px var(--gold, #ffc857), 0 0 0 200vmax rgba(3, 8, 24, 0.58);
  transition: left 0.3s, top 0.3s, width 0.3s, height 0.3s;
}
.og-globle .globle-tut-nohole .globle-tut-hole { box-shadow: 0 0 0 200vmax rgba(3, 8, 24, 0.58); }
.og-globle .globle-tut-lift { position: relative; z-index: 26; }
.og-globle .globle-tut-card { scroll-margin-top: 84px; }
.og-globle .globle-tut-card {
  position: absolute; pointer-events: auto; padding: 14px 16px 14px; border-radius: 18px;
  background: var(--solid, #0d1834); color: var(--text, #eaf0ff); border: 1px solid var(--line2, rgba(150, 185, 255, 0.28));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); font-size: 15px; line-height: 1.45;
  transition: left 0.3s, top 0.3s;
}
.og-globle .globle-tut-card:focus { outline: none; }
.og-globle .globle-tut-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.og-globle .globle-tut-count { font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim, #7383a8); }
.og-globle .globle-tut-skip {
  min-height: 34px; padding: 4px 12px; border-radius: 10px; border: 1px solid var(--line2, rgba(150, 185, 255, 0.28));
  background: transparent; color: var(--muted, #a3b1cf); font-weight: 800; font-size: 14px;
}
.og-globle .globle-tut-skip:hover { color: var(--text, #eaf0ff); }
.og-globle .globle-tut-title { margin: 0 0 4px; font: 800 18px/1.25 var(--display, inherit); }
.og-globle .globle-tut-text { margin: 0; color: var(--muted, #a3b1cf); }
.og-globle .globle-tut-extra:empty { display: none; }
.og-globle .globle-tut-extra { margin-top: 10px; }
.og-globle .globle-tut-heat { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--muted, #a3b1cf); }
.og-globle .globle-tut-heat i { flex: 1; height: 10px; border-radius: 99px; background: var(--heat); }
.og-globle .globle-tut-link { padding: 0; border: 0; background: none; color: var(--blue, #6ab4ff); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.og-globle .globle-tut-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.og-globle .globle-tut-nav button {
  min-height: 42px; padding: 8px 16px; border-radius: 12px; font-weight: 800; font-size: 15px;
  border: 1px solid var(--line2, rgba(150, 185, 255, 0.28)); background: var(--glass, transparent); color: var(--text, #eaf0ff);
}
.og-globle .globle-tut-nav .globle-tut-next { border: 0; color: #2a0d00; background: linear-gradient(180deg, #ffb36b, var(--hot, #ff6a3d)); }
.og-globle .globle-tut-nav .globle-tut-next.globle-tut-wait { color: var(--text, #eaf0ff); background: var(--glass, transparent); border: 1px solid var(--line2, rgba(150, 185, 255, 0.28)); }
.og-globle .globle-tut-nav button[hidden] { display: none; }
.og-globle .globle-tut-hand {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3), 0 4px 14px rgba(0, 0, 0, 0.35);
  display: none;
}
.og-globle .globle-tut-hand[data-hand="drag"] { display: block; animation: globle-tut-drag 1.8s ease-in-out infinite; }
@keyframes globle-tut-drag {
  0%, 100% { transform: translateX(-60px); opacity: 0; }
  15% { opacity: 1; }
  70% { transform: translateX(60px); opacity: 1; }
  85% { opacity: 0; }
}
@media (max-width: 520px) {
  .og-globle .globle-tut-card { padding: 12px 14px; font-size: 14.5px; }
  .og-globle .globle-tut-title { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .og-globle .globle-tut-hole,
.og-globle .globle-tut-card { transition: none; }
  .og-globle .globle-tut-hand[data-hand="drag"] { animation: none; opacity: 1; transform: none; }
}
