/* Studio tips: a lime ring on the real control and a snowy card beside it. Nothing is blocked:
   the artist can use the control straight through the ring. */
.tip-ring {
  position: fixed; z-index: 900; pointer-events: none; border-radius: 16px;
  box-shadow: 0 0 0 2px var(--lime), 0 0 0 9999px rgba(10, 10, 10, .5);
  transition: left .25s var(--ease), top .25s var(--ease), width .25s var(--ease), height .25s var(--ease), opacity .16s;
  animation: tip-ring-in .25s var(--ease);
}
.tip-ring.out { opacity: 0; }
@keyframes tip-ring-in { from { opacity: 0; } }

.tip {
  position: fixed; z-index: 901; width: min(320px, calc(100vw - 32px)); padding: 18px 18px 14px;
  border-radius: 20px; border-top: 4px solid var(--red); background: var(--paper); color: var(--ink);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
  font-family: var(--ui, "Archivo", system-ui, sans-serif);
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.tip.in { opacity: 1; transform: none; }
.tip-count { margin: 0 0 6px; font: 700 12px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tip-title { margin: 0 0 6px; font: 800 22px/1.05 var(--display); letter-spacing: -.02em; color: var(--ink); }
.tip-body { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.tip-acts { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tip-acts button { min-height: 44px; border-radius: 999px; font: 700 14.5px var(--display); cursor: pointer; touch-action: manipulation; }
.tip-skip { padding: 0 6px; border: 0; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tip-next { padding: 0 22px; border: 0; background: var(--lime); color: var(--on-lime, #0a0a0a); }
.tip-next:hover { filter: brightness(1.05); }
.tip button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Phones: a sheet along the bottom, clear of the home bar. */
.tip.docked { left: 16px !important; right: 16px; top: auto !important; bottom: max(16px, env(safe-area-inset-bottom)); width: auto; }
.tip.docked-top { top: max(16px, env(safe-area-inset-top)) !important; bottom: auto; }

@media (prefers-reduced-motion: reduce) {
  .tip, .tip-ring { transition: none; animation: none; }
  .tip { transform: none; }
}
