/* Onboarding tips (ui/coach.js): a dim layer with holes, a ring round each lit area, the tip box. */
#coach-root { position: absolute; inset: 0; z-index: 40; pointer-events: none; }
.coach-block { position: absolute; inset: 0; pointer-events: auto; } /* taps stop here: the screen under a tip is not playable */
.coach-dim { position: absolute; inset: 0; background: rgba(40, 26, 16, .72); animation: fade .2s; } /* the holes are a clip-path (coachplace.js) */
.coach-ring { position: absolute; border: 3px solid #FFE08A; border-radius: 8px; animation: coach-ring 1s infinite; }
@keyframes coach-ring { 50% { box-shadow: 0 0 14px #FFE08A; } }

.coach { position: absolute; max-width: 300px; background: var(--cream); border: 3px solid var(--wood); border-radius: 10px; padding: 10px 12px; font-size: calc(15px + var(--more)); box-shadow: 0 4px 0 var(--wood-d); animation: slidein .25s; pointer-events: auto; }
.coach p { margin: 0; }
.coach { box-sizing: border-box; max-width: min(300px, calc(100vw - 16px)); }
/* the count takes its own row, so long Russian button labels never push the box wider than the screen */
.coach-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.coach-count { flex: 1 0 100%; color: #8A6A4A; font-weight: 700; font-size: .9em; }
.coach .wood-btn { flex: 1 1 0; min-height: 34px; padding: 2px 10px; font-size: 14px; }
