/*
 * ZEKZEK editor first-run onboarding styles.
 * Follows the editor's neo-brutalist brand tokens: thick #090909 outline,
 * yellow accent, hard offset shadow, 10px radius.
 */

.zk-onb-root {
  position: fixed;
  inset: 0;
  z-index: 2000;
  /* No backdrop of its own; the spotlight's huge box-shadow dims everything
     except the cut-out hole. */
  pointer-events: auto;
}

.zk-onb-spot {
  position: fixed;
  border: 3px solid #ffd21f;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(9, 9, 9, 0.72);
  transition: top 0.18s ease, left 0.18s ease, width 0.18s ease, height 0.18s ease;
  pointer-events: none;
}

.zk-onb-bubble {
  position: fixed;
  width: min(320px, calc(100vw - 24px));
  background: #ffffff;
  color: #090909;
  border: 3px solid #090909;
  border-radius: 10px;
  box-shadow: 8px 8px 0 #090909;
  padding: 16px 16px 14px;
  box-sizing: border-box;
  transition: top 0.18s ease, left 0.18s ease;
}

.zk-onb-counter {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #090909;
  opacity: 0.6;
}

.zk-onb-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.zk-onb-body {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}

.zk-onb-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.zk-onb-nav {
  display: inline-flex;
  gap: 8px;
}

.zk-onb-btn {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid #090909;
  border-radius: 8px;
  padding: 8px 14px;
  background: #ffffff;
  color: #090909;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
}

.zk-onb-btn:hover {
  box-shadow: 3px 3px 0 #090909;
  transform: translate(-1px, -1px);
}

.zk-onb-btn:active {
  box-shadow: none;
  transform: translate(1px, 1px);
}

.zk-onb-skip {
  border-color: transparent;
  background: transparent;
  opacity: 0.7;
  padding-left: 4px;
  padding-right: 4px;
}

.zk-onb-skip:hover {
  box-shadow: none;
  transform: none;
  opacity: 1;
  text-decoration: underline;
}

.zk-onb-next {
  background: #ffd21f;
}

.zk-onb-back:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
  transform: none;
}

@media (max-width: 560px) {
  .zk-onb-bubble {
    padding: 14px;
  }
  .zk-onb-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zk-onb-spot,
  .zk-onb-bubble,
  .zk-onb-btn {
    transition: none;
  }
}
