#tutMask {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: visible;
  z-index: 40;
  pointer-events: none;
  background: none;
}
#tutRing {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 41;
  display: none;
  pointer-events: none;
  box-sizing: border-box;
  border: 2px solid #d4b46a;
  border-radius: 16px;
  background: transparent;
  will-change: transform;
  animation: tutPulse 300ms ease;
}
#tutCard {
  pointer-events: auto;
  position: fixed;
  left: 0;
  top: 0;
  --tut-safe-top: env(safe-area-inset-top, 0px);
  z-index: 42;
  box-sizing: border-box;
  /* HUG — not a 280×120 slab */
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  height: auto;
  max-height: 72px;
  min-height: 0;
  overflow: hidden;
  background: var(--pane, #f7f3ea);
  color: var(--card-ink, #1c1915);
  border: 1px solid rgba(180, 150, 86, 0.22);
  border-radius: 14px;
  padding: 10px 34px 10px 12px;
  box-shadow: 0 8px 24px rgba(14, 24, 18, 0.18);
  font-size: 13px;
  line-height: 1.35;
  will-change: transform;
}
html[data-light="night"] #tutCard,
html[data-light="dark"] #tutCard,
html[data-light="black"] #tutCard {
  background: var(--pane, #323028);
  color: var(--card-ink, #eee6d4);
  border-color: rgba(180, 150, 86, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
#tutBeat {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
  color: inherit;
  min-height: 0;
}
#tutSkip,
.tut-skip {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 12px;
  border: 1px solid rgba(180, 150, 86, 0.28);
  background: transparent;
  color: inherit;
}
.tut-x {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 16px;
  line-height: 28px;
  cursor: pointer;
  font-family: inherit;
}
html[data-light="night"] .tut-x,
html[data-light="dark"] .tut-x,
html[data-light="black"] .tut-x {
  color: var(--card-ink, #eee6d4);
}
@keyframes tutPulse {
  from { box-shadow: 0 0 0 0 rgba(212, 180, 106, 0.55); }
  to { box-shadow: 0 0 0 8px rgba(212, 180, 106, 0); }
}
#tutFrame {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
#tutAgainBtn {
  background: none;
  border: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
html.tut-scroll-lock,
html.tut-scroll-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
  touch-action: none;
}
html.tut-scroll-lock #tutCard {
  touch-action: manipulation;
}
