/* =====================================================
   Заглушка на весь экран до прохождения онбординга.
   Сам мастер онбординга оформлен в onboarding.css.
   ===================================================== */

/* ----------------- Онбординг-заглушка на весь экран -------------------- */
.welcome-splash {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-y: auto;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 22px
    calc(28px + env(safe-area-inset-bottom, 0px));
  background: radial-gradient(120% 78% at 50% 0%,
    color-mix(in srgb, var(--color-primary) 16%, var(--bg-app)) 0%,
    var(--bg-app) 58%);
}
.welcome-splash.show { display: flex; animation: viewIn var(--dur) var(--ease); }
html:has(.welcome-splash.show) { overflow: hidden; }
html:has(.welcome-splash.show) body { overflow: hidden; }

.ws-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
}
.ws-close svg { width: 20px; height: 20px; }

.ws-inner {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ws-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: color-mix(in srgb, var(--color-primary) 16%, var(--surface));
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}
.ws-icon svg { width: 40px; height: 40px; }
.ws-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.ws-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.ws-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ws-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}
.ws-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.ws-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.ws-cta svg { width: 20px; height: 20px; flex: none; }
.ws-skip {
  margin-top: 14px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 10px;
}
