/* Интерактивное знакомство: окно, подсветка, приглашение. Цвета из переменных trener.html (светлая и тёмная тема). */
.ob-layer { position: fixed; inset: 0; z-index: 1000; }
.ob-layer[hidden] { display: none; }
.ob-shade { position: absolute; inset: 0; background: transparent; }
.ob-shade.ob-dim { background: rgba(10, 30, 32, .45); }
.ob-spot { position: absolute; border-radius: 12px; box-shadow: 0 0 0 3px var(--accent), 0 0 0 9999px rgba(10, 30, 32, .45);
  pointer-events: none; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; }
.ob-spot[hidden] { display: none; }
.ob-card { position: absolute; width: min(400px, calc(100vw - 16px)); background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45);
  transition: left .25s ease, top .25s ease; }
.ob-card.ob-center { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); }
.ob-card.ob-sheet { left: 8px !important; right: 8px; top: auto !important; bottom: 8px; width: auto; transform: none;
  max-height: 60vh; overflow: auto; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.ob-count { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.ob-title { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
.ob-text { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.ob-dots { display: flex; gap: 6px; margin: 0 0 12px; }
.ob-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.ob-dots span.on { background: var(--accent); }
.ob-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ob-actions button { min-height: 44px; }
.ob-actions .ob-skip { margin-right: auto; background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 0 4px; }
.ob-actions button:focus-visible, .ob-invite button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ob-invite { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 12px; margin: 0 0 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 14px; }
.ob-invite button { min-height: 40px; }
.ob-help { min-height: 44px; }
.ob-sheet .ob-actions .ob-skip { order: 3; flex-basis: 100%; margin: 2px 0 0; text-align: left; min-height: 36px; }
.ob-sheet .ob-actions .ob-next { margin-left: auto; }
html.ob-open { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { .ob-spot, .ob-card { transition: none; } }
