/* ============================================================
   15-onboarding.css — First-run how-to-play tour
   ============================================================ */

/* First-run "How to play" tour */
.onb-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.onb-bg.show { display: flex; }

.onb {
  width: 100%;
  max-width: 380px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 18px 16px;
  text-align: center;
  animation: sheetUp .25s ease-out;
}

.onb-art {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.onb h3 { margin: 4px 0 6px; font-size: 19px; font-weight: 800; }

.onb p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); min-height: 66px; }

.onb-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 12px; }

.onb-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all .2s;
}

.onb-dots i.on { width: 22px; border-radius: 4px; background: var(--n-color); }

.onb-row { display: flex; gap: 10px; }

.onb-row .cta { margin: 0; flex: 1; }

.onb-skip {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: underline;
}

.onb-art .mini { display: grid; grid-template-columns: repeat(5, 22px); gap: 3px; }

.onb-art .mini b {
  height: 22px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 10px;
  line-height: 22px;
  color: var(--text);
  font-weight: 700;
}

.onb-art .mini b.h { border: none; color: #fff; }

.onb-art .mini b.sel { outline: 2px solid var(--n-color); outline-offset: 1px; }

.onb-ball {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--i-color);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(31,111,235,.55);
  animation: ballFloat 2.2s ease-in-out infinite;
}

@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.onb-small-ball {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
